False Sharing: When Your Parallel Code Is Secretly Serial
Every so often a profiler hands you a paradox. Your server is running eight worker goroutines, the load is perfectly
Continue readingFalse Sharing: When Your Parallel Code Is Secretly Serial
Every so often a profiler hands you a paradox. Your server is running eight worker goroutines, the load is perfectly
Continue readingFalse Sharing: When Your Parallel Code Is Secretly Serial
Ask a language model for JSON and most of the time it complies. Every so often it wraps the object
Continue readingConstrained Decoding: How LLMs Get Forced Into Valid JSON
Every database you use is a B-tree or an LSM tree underneath. PostgreSQL and MySQL’s InnoDB are B-trees. RocksDB, Cassandra,
Continue readingB-Trees vs LSM Trees: The Storage Engine Trade-Off Behind Every Database
Most services read the same rows over and over. A user profile endpoint gets hammered by the same traffic pattern
Continue readingClient-Side Caching with Redis: Invalidation Is the Whole Design
Every token an LLM emits costs a full forward pass. The GPU reads hundreds of gigabytes of weights, computes one
Continue readingSpeculative Decoding: The Math, the Drafters, and When the Bet Pays Off
A slow query arrives. Someone runs EXPLAIN ANALYZE, pastes the output into a search engine, and a verdict comes back:
Continue readingReading EXPLAIN ANALYZE Like a Planner: A PostgreSQL Field Guide
Every Go service that talks to PostgreSQL ends up managing a pool of database connections, and almost every team gets
Ask a PostgreSQL database administrator what kills databases in production and you’ll hear about wraparound — the event where a
Every Tokio application eventually meets the same mystery: a task that looks harmless in code review brings an entire runtime
Every Mac owner who has run a local LLM knows the feeling: the model downloads fine, the first answer looks