Skip to content

Glossary: System Design Basics in JavaScript

Race condition

Also written: race

A bug whose result depends on the timing of two overlapping operations, like two checkouts both reading 1 bag in stock and both selling it.

Where the book teaches it

Related terms

Atomic operationTransaction