ArchitectureNo. 06

Why idempotency keys didn't stop 105 resends of one receipt

Offline-first billing for electricity stations: one id from the phone to the receipt, why bill totals must never be added, an outbox that knows what to retry, and the 500 that looped.

Did this article help you?

A heart tells me what to write more of.

Comments

Join the conversation

Sign in with Google to like articles and comment. It takes one tap.

Keep reading

Architecture

372 tests passed. No sale could reach the ledger.

How I keep a 322,000-line accounting system correct on my own: one save gate, append-only money, a hash-chained audit trail, real-database tests, and the audit that caught what they missed.