SkillSprout
Chapter 6

Social and Messaging Designs

Chat, photo sharing, microblogging and ranked feeds, where fan-out and real-time delivery dominate.

1Design a Chat Messenger (WhatsApp-style)
Intermediate
25 min
2Design Instagram (Photo Sharing)
Intermediate
27 min
3Design Twitter (Microblogging)
Advanced
26 min
4Design a News Feed (Facebook-style)
Advanced
25 min

Chapter quiz

Social and Messaging Designs · 6 questions

  1. 1.With 500M daily users and 20% connected at peak, roughly how many WebSocket gateways are needed at 100K connections each (before headroom)?

  2. 2.What is the purpose of the session registry?

  3. 3.Why does the client upload photos directly to object storage with a pre-signed URL?

  4. 4.Why does the design push tweet IDs into followers' timelines at write time?

  5. 5.Why does the feed cache store only post IDs rather than full posts?

  6. 6.A page with 5 million followers publishes a post. What does the hybrid design do?

0 of 6 answered