writing
Notes from production.
Long-form posts about the systems I build and the ones I break. No listicles, no hot takes with a two-week shelf life.
Idempotency in Distributed Systems — Making Any Operation Safe to Retry
Learn idempotency key design, idempotency stores with TTL, request fingerprinting, and CQRS deduplication patterns for safe retries.
Mar 2026
LLM Observability in Production — Tracing Every Token From Request to Response
Master end-to-end LLM observability with OpenTelemetry spans, trace correlation, adaptive sampling, and anomaly detection to catch production issues before users do.
Mar 2026
Message Queue Backlog Explosion — When Your Queue Grows Faster Than You Consume
Your queue has 50 million unprocessed messages. Consumers are processing 1,000/second. New messages arrive at 5,000/second. The backlog will never drain. Here's how queue backlogs form, why they're dangerous, and the patterns to prevent and recover from them.
Mar 2026
No Backpressure Mechanism — When Fast Producers Drown Slow Consumers
Your webhook processor receives 10,000 events/second. Your database can handle 500 inserts/second. Without backpressure, your queue grows unbounded, memory fills up, the process crashes, and you lose all the unprocessed events in memory.
Mar 2026
Overengineering with Microservices Too Early — When Complexity Kills Speed
You split your MVP into 12 microservices before you had 100 users. Now a simple feature requires coordinating 4 teams, 6 deployments, and debugging across 8 services. The architecture that was supposed to scale you faster is the reason you ship slower than your competitors.
Mar 2026
Nothing matches that yet. Try another category or clear the search.