Notes on idempotency keys in payment APIs
May 12, 2026A practical look at how we made retries safe without double-charging, and the edge cases that bit us along the way.
Backend engineer. Writing about distributed systems, databases, and the occasional weekend project.
A practical look at how we made retries safe without double-charging, and the edge cases that bit us along the way.
Redis served us well for two years. Here is what pushed us to a durable log and what we learned migrating live traffic.
I kept grepping JSON logs by hand, so I built a tiny tool. Sharing the source and a few design decisions.
The clearest way I found to build intuition for flow control is to write a server that intentionally stalls.