Loading...
1) Users Service - for signin+up forgot password etc
2) Tweet Service - to post the tweets and to get tweets with validations.
3) Media Service - to handle media content to upload and retrieve via CDN.
For the high level design there are different services and patterns we need to use to design this type of system with the given NFR.
Request flow will be like that, given in the diagram
User -> Load Balancer -> Servers (services) (here we will have Authentication + Gateway+ Rate Limiter + and different micro services ) -> Cache(to get recent tweets) -> Db
this will be the design
Deep dive into 2-3 key components. Explain how they work, how they scale, discuss tradeoffs, capacity, and any relevant algorithms or data structures.