// writing
Deep dives into backend engineering, distributed systems, and production war stories — written while building real things.
How replacing an async Kafka publish with a database-level outbox table turned a fragile dual-write into a crash-resilient, at-least-once delivery pipeline — and the two subtle bugs we found along the way.
How to build a self-hosted webhook relay that normalizes, transforms, and reliably delivers events with circuit breaking, rate limiting, exponential backoff, and full audit logging — using FastAPI, Kafka, PostgreSQL, and Redis.