Related Coding:

Requirements:

Feed publishing

Source: ByteByteGo https://bytebytego.com/courses/system-design-interview/design-a-news-feed-system

Source: ByteByteGo https://bytebytego.com/courses/system-design-interview/design-a-news-feed-system

Post Service

Learn from the picture.

Fanout Service (Write-through caching)

Fanout is the process of delivering a post to all followers (or friends). It is a Write-through cache for Post DB specific for feeds.

Pros: