Eventual Consistency: When "Eventually" Is Good Enough
Article #27 of System Design Roadmap series, Part II: Data Storage
The Distributed Data Dilemma
Picture this: You're scrolling through your social media feed when you notice something strange. Your friend's new profile picture shows up in your feed, but when you visit their profile, you still see their old photo. A minute later, both are in sync. What just happened?
You've witnessed eventual consistency in action—a fundamental principle that powers many of the world's largest distributed systems. While immediate consistency feels intuitive (update once, see everywhere instantly), the reality of distributed computing makes this surprisingly difficult to achieve at scale.
Understanding Eventual Consistency
Eventual consistency is a consistency model that promises a beautifully simple guarantee: given enough time without new updates, all replicas of data will converge to the same state. The key word is "ev…
Keep reading with a 7-day free trial
Subscribe to System Design Interview Roadmap to keep reading this post and get 7 days of free access to the full post archives.
