Video table :
comments:
User:
The client will be communicate via API gateway.
It need supports 100M user prepay, need an load balancer and horizontally scalable video service.
a. The video db can be a dynamodb in AWS, the videoId as sort key and channel/user(uploaderid) as partition key.
b. Dynamodb is scalable horizontally
c. we can implement a search on title by adding GSI. Elastic search for title search.
Explain how the request flows from end to end in your high level design. Also you could draw a sequence diagram using the diagramming tool to enhance your explanation...
a. The video db can be a dynamodb in AWS, the videoId as sort key and channel/user(uploaderid) as partition key.
b. Dynamodb is scalable horizontally
c. we can implement a search on title by adding GSI. Elastic search for title search.