•   Home
  •   Github
  •   LinkedIn
  •   Subscribe

databases

Posts: 16

Reclaiming Serializability: The Story of SI, Serializable, and SSI

Nov 06, 2023 | distributed-systems, system-design, databases

In the previous post, we looked under the hood at how databases enforce isolation through locks, validations, and snapshots. Although these isolation levels were already introduced in the earlier post, we’ll revisit them here to clear up one of the most common sources of confusion i.e., the trio…

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…

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