System Design Patterns: From Fundamentals to Real Systems
Vote

0% completed

​

Design 1 - The News Feed

A photo-sharing app wants a home feed. When a user opens the app, the feed shows the newest posts from the accounts that user follows, newest first. The interviewer gives this brief:

  • Users. 100 million people open the app every day, and each one opens the feed about 10 times a day.
  • Posts. Users publish 10 million photo posts a day. An average post has 200 followers, but a few accounts have millions.
  • Speed. The first page of the feed must appear within 200 ms of the request.
  • Freshness. A new post should appear in followers' feeds within a few seconds

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content