The Runtime Theory
Backend EngineeringPlanned

Designing a Retry-Safe API

Video not available yet
#api-design#retries#idempotency

The video opens with a client creating an export job. The server completes the work, but the response is lost; the client sees only a timeout. A sequence diagram then adds a scoped idempotency key, stored request identity, an atomic local transaction, and a replayed response for the retry.

The second half introduces the hard case where the side effect belongs to another service, and explains why an outbox or downstream idempotency contract may be required. It closes with timeout budgets, capped retries, backoff, and duplicate-request tests. Companion material: retry contract article, idempotency trace, and the AWS Builders' Library.

Related articles

New lessons by email

Get new articles and notes on the systems behind everyday software.

One technical dispatch per week. No noise.

Not started

Sign in to save your learning progress.

Sign in to save