Why SQL still wins for most transactional work.
Relational Basics and ACID: why sql still wins for most transactional work
shape data so reads and writes stay honest
Higher isolation costs locks/aborts.
Relational databases provide ACID transactions: atomic all-or-nothing changes, consistent (invariant-preserving) writes, isolated concurrency, and durable on commit. They're the right default for any transactional workload.
Atomicity: a transaction either fully applies or doesn't.
Isolation levels: read-uncommitted (rare), read-committed (default in many), repeatable-read, serializable.
Most non-trivial concurrency bugs come from picking too weak an isolation level.
Transfer money between accounts.