Twitter / X
Twitter's feed architecture solves one of the hardest problems in distributed systems: delivering 500M+ tweets per day to personalized timelines in real-time. Built on Google Cloud, the system uses a hybrid fan-out strategy — fan-out on write for regular users (pre-computing timelines into Memorystore Redis caches) and fan-out on read for celebrity accounts with millions of followers to avoid write amplification. Recommended for engineers designing social platforms where millions of users consume personalized content feeds in real time.
Share this architecture with your network
Twitter's hybrid fan-out approach is key to scaling. Regular tweets fan out on write to follower timeline caches in Memorystore, while celebrity tweets (10K+ followers) fan out on read at query time. Pub/Sub handles event streaming for analytics and search indexing. The timeline cache uses consistent hashing across Memorystore shards, and Bigtable stores the canonical tweet data optimized for time-series access patterns.
Netflix Streaming Platform
Netflix
Uber Dispatch System
Uber
Stripe Payment Processing
Stripe
WhatsApp Messaging System
WhatsApp / Meta
Airbnb Marketplace Platform
Airbnb
Slack Real-Time Collaboration
Slack
Twitter / X Feed Architecture
Remix this architecture in Canvas