Essays, notes, and long-form thoughts
Here you will find my essays, notes, and long-form thoughts on software engineering, system design, and other topics that interest me.

Explicit Connection Pooling in Go: Architecting Physical Tenant Isolation
A registry-driven approach to physical database isolation in high-concurrency Go SaaS applications.

Architectural Debt: Resolving Race Conditions in High-Concurrency Systems
Solving the "Naive State Reset" anti-pattern in resource management and high-traffic distributed systems.

Server-Sent Events (SSE) Implementation: Closing the Observability Gap
Solving the "Hit-and-Forget" gap in background jobs without the infrastructure overhead of WebSockets.

Rethinking Backend Layers: Transactions, Repositories, and Pragmatism
Why textbook Clean Architecture kind of sucks in production, and how I actually handle transactions and domains.

Pragmatic Validation in the Service Layer: Balancing Logic and Clean Architecture
Why stateful invariants belong inside the transaction, not a separate validation layer. Navigating Clean Architecture trade-offs.

Why I’m Killing the "Summary Table" in High-Stakes Systems
Moving from state-based duality to Head-Pointer Snapshotting and Optimistic Concurrency Control for data integrity.