•   Home
  •   Github
  •   LinkedIn
  •   Subscribe

storage

Posts: 15

Concurrency Control Mechanisms Explained by Isolation Anomalies

Nov 01, 2023 | distributed-systems, databases, storage, system-design

In the previous post, we understood isolation levels through the lens of their anomalies i.e., what goes wrong when transactions interleave too freely. But knowing what to prevent is only half the story. Databases must also decide how to prevent it. That’s where concurrency control mechanisms come in.…

From Isolation Anomalies to Isolation Levels

Oct 30, 2023 | distributed-systems, databases, system-design, storage

We often think of isolation levels as checkboxes in a database configuration such as Read Committed, Repeatable Read, Serializable. But these labels are not arbitrary. They’re the database world’s answer to a simple question: What can possibly go wrong if two transactions run together? Each isolation level exists…

Consistency Models Explained by Their Anomalies

Sep 16, 2023 | distributed-systems, system-design, storage, databases

Consistency models are often introduced as abstract rules: causal, sequential, linearizable, and so on. But what they really do is draw boundaries around the kinds of mistakes a distributed system can make. If consistency is about agreement, anomalies are the cracks where that agreement breaks. Each model exists precisely to…

From Ordering Guarantees to Consistency Models

Aug 31, 2023 | distributed-systems, system-design, storage, databases

Distributed systems differ not only in what they store but in how they order events. Every read, write, and replica update follows an underlying ordering guarantee, a rule defining how operations appear across replicas. As these guarantees strengthen, systems exchange availability and latency for stronger forms of consistency. Every distributed…

Coordination in Distributed Systems

Jun 17, 2023 | distributed-systems, system-design, storage, databases, microservices

Modern distributed systems are built from many moving parts - databases, services, queues, caches, and schedulers - all operating concurrently and often out of sync. The only reason this doesn’t collapse into chaos is coordination. Coordination is how independent components stay aligned - who leads, who follows, who owns…

Newer Posts Page 2 of 3 Older Posts
Theme Attila by zutrinken Published with Ghost