Chapter 6
Social and Messaging Designs
Chat, photo sharing, microblogging and ranked feeds, where fan-out and real-time delivery dominate.
Intermediate
25 min2Design Instagram (Photo Sharing)Intermediate
27 min3Design Twitter (Microblogging)Advanced
26 min4Design a News Feed (Facebook-style)Advanced
25 minChapter quiz
Social and Messaging Designs · 6 questions
1.With 500M daily users and 20% connected at peak, roughly how many WebSocket gateways are needed at 100K connections each (before headroom)?
2.What is the purpose of the session registry?
3.Why does the client upload photos directly to object storage with a pre-signed URL?
4.Why does the design push tweet IDs into followers' timelines at write time?
5.Why does the feed cache store only post IDs rather than full posts?
6.A page with 5 million followers publishes a post. What does the hybrid design do?
0 of 6 answered

