How to choose database transaction boundaries in backend APIs so writes stay atomic without holding locks across external calls, retries, or slow work.
How to handle webhook idempotency and retries in production with durable receipts, atomic deduplication, fast acknowledgements, and replay-safe workers.
How to design API idempotency keys for retries, duplicate requests, payload mismatch, and ambiguous failures, with test results from six implementations and which ones still charged twice.