Idempotency Keys and the Exactly-Once Myth in Distributed Systems
How to design idempotent write APIs, prevent duplicate side effects, and avoid exactly-once assumptions in real production traffic.
72 posts
How to design idempotent write APIs, prevent duplicate side effects, and avoid exactly-once assumptions in real production traffic.
A practical guide to cache invalidation with versioned assets, targeted purge policies, and stale-while-revalidate patterns.
How Temporal helps backend teams build reliable long-running workflows with retries, timeouts, compensation logic, and strong observability.
A practical SRE playbook for choosing user-centric indicators, setting realistic objectives, and using error budgets in release decisions.
A backend-focused walkthrough of passkey registration/login flows, threat model improvements, and rollout strategy.
A practical implementation guide for end-to-end tracing, context propagation, sampling, and production observability in Go microservices.
How to decouple deployment from release, run controlled rollouts, and keep vendor flexibility with OpenFeature.
A practical production guide for combining HPA, VPA, and Cluster Autoscaler without conflict.
Practical patterns for context propagation, timeout budgeting, cancellation handling, and graceful shutdown in Go services.
Manage DB connections in production: PgBouncer transaction pooling, Go database/sql settings, and Node.js pg pool tuning.