Notes from production
Short essays about the decisions that are easy to get wrong: idempotency, indexes, rate limits, and the difference between a control and a safety net.
Idempotency is a product feature, not a database detail
Why retries are normal, duplicate side effects are not, and how to design an idempotency boundary that clients can actually use.
Postgres indexes that earn their keep
A short checklist for choosing indexes from query plans and workload shape instead of adding one for every column.
Rate limits are not security
Rate limiting reduces abuse and protects capacity. It does not replace authentication, authorization, or input validation.