Back to Home

Blog

Notes on backend architecture, distributed systems, and building production software.

posts.json

June 10, 2026

Sequencing a Solo Side Project: Riskiest Assumption First

Before writing a line of infrastructure code for a new side project, I try to isolate and prove the one assumption that would kill the whole idea if it's wrong — everything else can wait.

Side ProjectsArchitectureProduct Engineering

April 15, 2026

Why We Audited Our Inbound Email Pipeline's SPF/DKIM/DMARC Handling

When a from-address literally determines who owns a deal, trusting default email authentication handling isn't good enough. Here's what a focused security review of an SES inbound pipeline actually covers.

SecurityEmailAWS SES

March 25, 2026

Keeping Schema Drift Honest with a CI/CD Diff Step

Deployed database RPCs can quietly drift from what's checked into the repo. A small CI/CD step that diffs the two and drops orphans keeps that drift from turning into a debugging session.

CI/CDSupabasePostgreSQL

March 10, 2026

Cutting AWS Spend by 38% Without Sacrificing Reliability

A practical breakdown of the performance tuning, instance right-sizing, and architectural changes that cut our AWS bill by more than a third — without a single reliability regression.

AWSCost OptimizationBackend

February 5, 2026

Debugging Unrecoverable OCR Timeouts on Large PDFs

Large PDFs kept timing out during OCR, and every retry started over from page one. Incremental checkpointing turned that into forward progress instead of repeated failure.

OCRReliabilityBackend

January 22, 2026

Rewriting a Document-Upsert Path Against an EAV Schema

Per-row writes against an entity-attribute-value schema were creating lock contention on our hottest path. Here's how batching the writes fixed it.

PostgreSQLArchitecturePerformance