Idempotency Keys: How to Make API Retries Safe
How idempotency keys stop double charges when clients retry: the design, a PostgreSQL and Node.js implementation, edge cases and idempotent consumers.
2 articles about API Design, written from hands-on experience building and scaling production systems.
How idempotency keys stop double charges when clients retry: the design, a PostgreSQL and Node.js implementation, edge cases and idempotent consumers.
Fixed window, sliding window, token bucket and leaky bucket rate limiters explained, with atomic Redis Lua implementations and proper 429 responses.