ML
Topic

Database

ACID, isolation levels, indexing strategy, the N+1 trap, locking, and the day-to-day failure modes of relational databases — practical notes from real-world use.

6 articles · updated regularly

Database
Jun 26, 20269 min

Write Skew: The Anomaly Snapshot Isolation Quietly Allows

Two requests each removed a different admin from a project. Each one first checked that at least one other admin would remain, and each check passed, because at the moment it ran another admin really did still exist. Both committed. The project ended up with zero admins, and our Repeatable Read transactions never noticed a thing.

DatabasePostgres
Read