Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Failure Recovery and Operational Controls

Status Draft outlineSection Market and Trading Systems

Recovery is a state-reconciliation problem: after a partial failure, the system must determine what happened externally before safely resuming action.

Planned model

Inject process crashes, dropped acknowledgements, stale replicas, network partitions, and operator actions. Track durable intent, external state, uncertainty, and recovery decisions.

Questions

  • Which actions are idempotent and which may duplicate exposure?
  • What state survives each failure boundary?
  • When must automation stop and require explicit reconciliation?

Exercise

Write a recovery runbook for a gateway crash with live orders and an incomplete local acknowledgement log.