21 July 2026

Posts published on funGyaan on 21 July 2026.

July 2026

MTWTFSS
12345
6789101112
13141516171819
20212223242526
2728293031

  1. How do you build a news feed: fan-out on write or on read?

    Fan-out on write precomputes each follower's timeline, so reads are instant, but one post from an account with millions of followers means millions of writes. Fan-out on read is cheap to write and expensive to read. Large feeds use both: push for most accounts, pull for the very popular ones.

    · 6 min read · System Design