Skip to content

Glossary: System Design Beyond the Basics in Go

State machine

Also written: payment state machine

A list of allowed states and moves; every other move is refused. A payment goes created, authorized, captured or failed, so a late retry can't capture a failed payment.

Where the book teaches it

Related terms

Double-entry ledgeridempotent