WeSearch

Scale Wars #5 — Twitter: The Fan-out Pattern and the Architecture Behind 140 Characters

·5 min read · 0 reactions · 0 comments · 13 views
#twitter#architecture#programming#backend#systemdesign
Scale Wars #5 — Twitter: The Fan-out Pattern and the Architecture Behind 140 Characters
⚡ TL;DR · AI summary

The article discusses Twitter's architectural strategies for managing the challenges of updating timelines for users with large followings. It outlines two main approaches: Fan-out-on-Write and Fan-out-on-Read, and how Twitter implemented a hybrid solution based on user follower counts. This approach allows normal users to benefit from fast reads while managing the storage demands of celebrity users effectively.

Key facts
Original article
DEV.to (Top)
Read full at DEV.to (Top) →
Opening excerpt (first ~120 words) tap to expand

try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 2891163) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Mehmet TURAÇ Posted on May 26 Scale Wars #5 — Twitter: The Fan-out Pattern and the Architecture Behind 140 Characters #systemdesign #architecture #backend #programming Scale Wars (8 Part Series) 1 Scale Wars — The Architectural Secrets of Tech Giants 2 Scale Wars #1 — Netflix: The Company That Killed the Monolith ... 4 more parts...

Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from DEV.to (Top)