Skip to content

Glossary: System Design Basics in PHP

Atomic

Also written: atomic update

An operation that is one step and can't be split, so nothing can happen between the check and the change. A single `UPDATE ... WHERE qty >= ?` is atomic.

Where the book teaches it

Related terms

Race conditionTransactionACID