Overview - Consistency models (strong, eventual)
What is it?
Consistency models describe how data changes are seen by users in distributed systems. Strong consistency means everyone sees the same data at the same time. Eventual consistency means data updates spread over time, so users may see different versions temporarily. These models help balance speed, availability, and correctness in systems.
Why it matters
Without consistency models, users would get confusing or wrong data, like seeing old prices after a sale or conflicting messages in chat apps. They solve the problem of keeping data reliable and understandable across many computers working together. This is crucial for apps like banking, social media, or online shopping where data accuracy and speed matter.
Where it fits
Before learning consistency models, you should understand distributed systems basics and data replication. After this, you can explore consensus algorithms, CAP theorem, and database design choices that use these models.