notexOPENOverview
Notex/Systems/Feed publishing
11.05LESSON 05 OF 11 · 1 MIN READ

Feed publishing

Always free to read
SECTION VIDEOFeed publishing

Video coming soon. Start with the reading below.

COMING SOON

Figure 11-2 shows the high-level design of the feed publishing flow.

Design a news feed system — original diagram 138
  • User: a user can view news feeds on a browser or mobile app. A user makes a post with content “Hello” through API: /v1/me/feed?content=Hello&auth_token={auth_token}
  • Load balancer: distribute traffic to web servers.
  • Web servers: web servers redirect traffic to different internal services.
  • Post service: persist post in the database and cache.
  • Fanout service: push new content to friends’ news feed. Newsfeed data is stored in the cache for fast retrieval.
  • Notification service: inform friends that new content is available and send out push notifications.
Progress is saved on this device.
KEEP EXPLORING

One note leads to another.

Back to the library →
⌕
Search across the entire library ⌘ K