Engineering notes
Short write-ups on problems I've actually hit in production.
-
Where duplicate orders come from — and how idempotency stops them
The app and the payment gateway both want to finish your checkout. Here's how to make sure only one of them does.
-
Designing append-only audit trails in DynamoDB
Who requested it, who submitted it, who approved it — and how to record all of it in DynamoDB without hitting transaction limits.
-
Migrating a message bus with canary routing and fallback
How we moved live payment and credit events from Kafka to AWS SQS/SNS — one stream at a time, with zero downtime and a config-only rollback.
-
How one missing socket timeout took down a connection pool
An 8-second network blip turned into a 71-minute outage. The cause was one missing JDBC setting.