Per year: 1 TB * 365 = 365 TB
RPS = 500000 / 24 * 60 * 60
Functions:
/netflix/user POST (create_user)
/netflix/user?user_id GET (get_user_data)
/netflix/video?video_hash GET (watch_video)
/netflix/video POST (upload a video)
/netflix/video/lookup POST (lookup videso by tags, metadata etc.)
/netflix/video/like?video_hash POST (like a video)
/netflix/video/comment?video_hash POST (post a comment on a video video)
/netflix/videos/recomendation?user_id GET (get recomended videos)
User : +int RecordID
User : +int UserID
User : +String UserName
User : +String HashedPassword
User : +String Email
User : +DateTime CreatedAt
Video : +int RecordID
Video : +int VideoID
Video : +String Link
Video : +int LikeID
Video : +DateTime CreatedAt
Like : +int RecordID
Like : +int LikeCount
Like : +int DisLikeCount
Like : +int LikeID
Comments : +int RecordID
Comments : +int VideoID
Comments : +int UserID
Comments : +String Comment
You should identify enough components that are needed to solve the actual problem from end to end. Also remember to draw a block diagram using the diagramming tool to augment your design. If you are unfamiliar with the tool, you can simply describe your design to the chat bot and ask it to generate a starter diagram for you to modify...
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...
For video encoding:
For recomendations service:
Explain any trade offs you have made and why you made certain tech choices...
What are some future improvements you would make? How would you mitigate the failure scenario(s) you described above?