PostgreSQL Connection Pooling: Session vs Transaction Mode, PgBouncer, and How to Size It
Every PostgreSQL backend process is a full Unix process with its own megabytes of memory. That design choice buys you
Every PostgreSQL backend process is a full Unix process with its own megabytes of memory. That design choice buys you
Every Prometheus failure I’ve seen in production started the same way: someone added a label. A user ID on a
Here is a debugging story that repeats across every gRPC team. A developer runs grpcurl -plaintext localhost:50051 list against a
Continue readinggRPC Server Reflection in Production: Gate It, and Use Health Checks Instead
If you run a large language model behind a product, you have probably internalized an uncomfortable trade-off. The big frontier
Continue readingLLM Routing and Cascading: Send Every Query to the Cheapest Model That Can Handle It
Every UPDATE in PostgreSQL is secretly an INSERT-plus-a-tombstone. The old row version stays on disk, fully readable to any transaction
Continue readingMVCC and VACUUM in PostgreSQL: Dead Tuples, Autovacuum Tuning, and What PG18 Changed
Every high-concurrency network server on Linux eventually converges on the same bottleneck: not CPU, not memory, but the question of
Continue readingepoll Under the Hood: How Linux Event Loops Actually Work
Every go process you ship is quietly running a second program: the garbage collector. It shares your heap, pauses your
Continue readingGo Memory Management Under the Hood: Allocator, Stacks, Escape Analysis, and GC
Your CPU does not read single bytes. It moves memory between caches in fixed-size blocks called cache lines — 64
Continue readingFalse Sharing in Go: How 64-Byte Cache Lines Slow Down Race-Free Code
Every PostgreSQL connection is a process on the server. Not a thread, not an entry in a table — a
Continue readingDatabase Connection Pooling: PgBouncer, Pool Sizing, and the Math Behind Both
When a request crosses five services and the latency budget blows up, a single log line rarely tells you where
Continue readingDistributed Tracing in Go with OpenTelemetry