backendsystem-design
Feed design shifts work between reads and writes
Anonymous
fanout-on-write copies a new post into followers' inboxes, making reads simple but writes expensive for accounts with many followers. fanout-on-read stores the post once and combines it with followed accounts at read time, shifting work to reads. a hybrid can treat high-fanout accounts differently.
0