10 min read
How to Design a Payment API That's Safe to Retry (A Senior Interview Answer)
"Add an idempotency key" is where a senior answer starts. The rest is where the key comes from, and what the database refuses.
4 articles on Idempotency.
10 min read
"Add an idempotency key" is where a senior answer starts. The rest is where the key comes from, and what the database refuses.
9 min read
Save-then-publish drops messages without a single error in your logs. Here's the outbox + inbox pair that stops it, in plain Postgres and Node.js.
8 min read
Checkpoints, scoped retries, idempotent tools, and run budgets: how production agents survive the failure math of 20-step loops.
9 min read
Idempotency in plain English: HTTP, message queues, and the one detail that decides whether it's real.