Architecture in Motion · Episode 013

Checkout during a deployment: six-step failure and recovery

Checkout fails intermittently during a deployment because a gateway still routes new requests to a terminating instance.

Illustrative failure model. No live payment, broker, database, or JVM is connected. Counts and timelines are teaching values, not benchmark results.

Check your understanding

Does a gateway timeout prove that the order was not saved?

What this model does and does not prove

Readiness-aware routing, connection draining, graceful shutdown, and durable idempotency for order retries.

Every step describes a constructed scenario. These states do not replace load tests, fault injection, provider contracts, JVM recordings, or durable transaction checks. Previous and Reset rebuild the teaching state; they never roll back real business operations.