System Design · Case Studies · Topic 2 of 3
Social Platforms
4 questions.
Your progress0%
- 1st Visit
- 0/4
- 2nd Visit
- 0/4
- Revise
- 0/4
Overview
Social platform case studies combine large read volumes, user-generated content and a social graph, which makes them good tests of caching, fan-out, real-time communication and media storage. The interviewer usually expects you to identify the dominant access pattern, such as reading feeds far more often than posting, and to design around it. This topic covers photo sharing, typeahead search, news feeds and chat. Common threads include celebrity users who create hot spots, the choice between precomputing results and computing them on demand, persistent connections for live updates, and accepting eventual consistency where users will not notice it. State clearly which data must be strongly consistent and which may lag.
Questions
| # | Problem | Platform | Difficulty | Open | 1st1st Visit | 2nd2nd Visit | RevRevise |
|---|---|---|---|---|---|---|---|
| 1 | Design a photo-sharing service like Instagram | Concept | Medium | Read the answer to Design a photo-sharing service like Instagram | |||
| 2 | Design a typeahead (search autocomplete) system | Concept | Medium | Read the answer to Design a typeahead (search autocomplete) system | |||
| 3 | Design a news feed system | Concept | Hard | Read the answer to Design a news feed system | |||
| 4 | Design a chat application like WhatsApp | Concept | Hard | Read the answer to Design a chat application like WhatsApp |