Blog: notes on backend, data and AI
Notes on backend engineering, data and building products with AI.
November 25, 2026 · 4 min read
Idempotency keys for APIs and message consumers
Networks retry and brokers redeliver, so every operation that moves money must be safe to receive twice. A unique key and a stored result make a repeat harmless.
paymentsapiidempotency
November 20, 2026 · 2 min read
API versioning and backward compatibility
Most API changes can be made without a new version if you only add. Learn which changes break clients, how to version when you must, and how to deprecate.
architectureapi
November 20, 2026 · 2 min read
Rate limiting: fixed window, sliding window and token bucket
Rate limits protect a service from abuse and overload. Compare fixed window, sliding window and token bucket and see how to answer with a 429.
architectureapi