Cross Continent Infrastructure Scaling at Instagram
summary
Instagram moves from one to three to five data centers and hits cross‑ocean latency because stateful Cassandra replicas force quorum requests to touch five of seven replicas; Django has ~50 workers and a 12s hard timeout so tail latency matters. Solution: introduce Akio placement service, partition datasets into US vs EU Cassandra clusters (no duplication), add US as a third replica for EU failover, Akio cache hit ~80% and adds <10 ms of latency; trade-offs remain between storage, compute headroom and resilience.
AI-written summary · about
chapters (15)
- 0:00Intro
- 2:16Overview of Facebook Data Centers
- 2:33Infrastructure Overview
- 4:08Cassandra
- 6:12Problem
- 7:14Solution
- 7:56Partition
- 10:44Disaster readiness
- 11:57US data centers
- 15:00Data center split
- 16:40Cassandra partitioning
- 17:31Tradeoffs
- 17:48Summary
- 18:20Tradeoff
- 18:35Latency
related talks
22mCross Atlantic: Scaling Instagram Infrastructure from US to Europe
44mAvailability, Latency and Cost: Withstanding Outages
01h 08mDystopia as a Service
31mToo Far Too Furious: Multi-Region Cloud Applications
50mWeathering the Cloud Storm: Building Resilient Geo-Distributed Apps
21mBuilding Distributed Platforms at Extreme Scale on Fast Changing Data
44mToo Far, Too Furious: Multi-Region Spring Cloud Applications
24mStronger Semantics for Low-Latency Geo-Replicated Storage
