A look at how Instagram works. Instagram serves billions of users a feed that’s the textbook example of the “fanout-on-write” pattern, with a hybrid escape hatch for celebrities. The architecture that’s survived a decade of feature growth is built on one decision: each user gets a pre-materialized timeline in Redis, updated whenever someone they follow… Continue reading
Posts Tagged → timeline
How Twitter Timeline Works: Hybrid Fanout Architecture
A look at how Twitter timeline works. Twitter’s timeline is the architecture every feed product gets compared to, because Twitter’s engineering team published the most honest write-ups of the trade-offs. The headline pattern is hybrid fanout: write-time fanout for normal users, read-time fanout for celebrities, merged on every read. The cutover threshold is the most-tuned… Continue reading
AI History: Booms, Winters, and Revivals
TL;DR 30 sec7 min coredeep dive optional AI history is a hundred-year cycle of hype booms and funding winters, and the current wave is the field’s third boom: founded in 1956, frozen out in the 1970s and again from 1987, revived after 2012 on data, GPU compute and backpropagation. The groundwork predates the name by… Continue reading