Glossary: System Design Basics
Atomic operation
Also written: atomic, atomic update
One step that can't be split, so nothing can happen between the check and the change. A single `UPDATE ... WHERE qty >= ?` checks and subtracts stock at once.
Where the book teaches it
Related terms
Race conditionTransactionACID (atomicity, consistency, isolation, durability)