How Two-Phase Commit Works: Prepare, Decision, and Why Blocking Happens
A payment service writes a debit. An inventory service reserves a unit. Either both must become durable facts, or neither may. That is an at...
A payment service writes a debit. An inventory service reserves a unit. Either both must become durable facts, or neither may. That is an at...
A payment service writes a debit. An inventory service reserves a unit. Either both must become durable facts, or neither may. That is an at...
A B-tree updates a leaf in place. That is the right shape when most work is point lookups on a working set that already lives on disk. It is...
A committed row that vanishes after a power cut is a broken contract. The database promised durability. RAM is fast and volatile. Disk pages...
A cache, a database, and a CDN edge often need the same cheap answer: have I seen this key before? Storing every key is correct and expensi...
A user program cannot talk to a disk controller, change another process's page tables, or bind a TCP port by executing ordinary instruct...
A replicated database, a Kubernetes control plane, and a coordination service all need the same guarantee: after a machine dies, the survivo...
TCP names a connection by four numbers: two addresses and two ports. Change any of them and the connection is gone. It also delivers one ord...
A cache cluster, a sharded database, and a content-delivery edge all share one problem: given a key, which machine should own it? The naive...
TCP can deliver a reliable byte stream. That is useful when a file must arrive complete and in order. It is the wrong contract when a late p...