Production Systems & Case Studies
Write-ups of production systems built, refactored, and operated under load: architecture constraints, trade-offs, and measured outcomes.
Three Silent Failure Modes of Celery -P gevent + Django + PostgreSQL
Why prefork instincts break under greenlets: boot-time DB registry races, hard time_limit poisoning libpq wire state, and DB-backed result stores wedging acks_late workers on primary restarts.
How Monotonic State Guards + ORDER BY updated_at Starved 84,000 Messages
A production failure analysis in Go, Kafka, and ClickHouse ReplacingMergeTree: why write-gated timestamps break round-robin polling, and how an upstream TTL purge turned monotonic state weights into a permanent corruption ratchet.
Eliminating Write Amplification & Row-Lock Convoys on a 49 GB PostgreSQL Table
How Django's bulk_update() CASE WHEN explosion, unleased 'idempotent' webhook retries, and a hidden 2.6 GB varchar_pattern_ops index generated 48% of primary WAL, and how we fixed all three.
Adopting 54 Drifted Production Kubernetes Workloads into GitOps Without Downtime
Closing the kubectl diff and Argo CD blind spot for hand-edited live fields, solving the Kubernetes $(POD_IP) Secret-expansion trap, and enforcing a trigger-only CI-to-GitOps security boundary across 54 live workloads.