Skip to content

Glossary: System Design Beyond the Basics in C++

State machine

Also written: payment state machine

A list of allowed states and moves, with every other move refused. A payment can go from authorized to captured, but a failed one can't be captured later.

Where the book teaches it

Related terms

Double-entry ledgerIdempotency key