Backend
Optimistic vs Pessimistic Locking: How Databases Prevent Lost Updates
Why two users buying the last concert seat at the same millisecond causes a Lost Update, and how SELECT FOR UPDATE vs atomic version checks solve it.
How the real world actually works — everyday machines, physics, money, and hidden engineering. Drawn, one mechanism at a time, in the order the videos ship.
Why two users buying the last concert seat at the same millisecond causes a Lost Update, and how SELECT FOR UPDATE vs atomic version checks solve it.
A deep dive into distributed consensus, linearizability, PACELC theorem, and choosing between immediate consistency and high-throughput low latency.