Deep technical writing on the parts of the stack that actually break at 3am.

Query plans, index internals, GC pauses, replica lag. Long-form, code-first, no preamble. Two new articles each week from engineers who've been on call.

The ESR rule: how compound indexes really get used

Latest articles

Debugging MongoDB queries with explain('executionStats')
#mongodb Intermediate

Debugging MongoDB queries with explain('executionStats')

totalKeysExamined, totalDocsExamined, nReturned — the three numbers I look at first, and what their ratios tell me before I read a single index.

AD Admin ·May 04, 2026 ·9 min
N-gram contains search in MongoDB without paying Atlas Search
#mongodb Advanced

N-gram contains search in MongoDB without paying Atlas Search

How to fake LIKE '%foo%' on Mongo with trigrams, a pre-computed token array, and a clever multikey index. ~12ms p99 on 8M documents.

AD Admin ·Apr 28, 2026 ·18 min
Five types of scans every backend dev should recognise
#postgres Intermediate

Five types of scans every backend dev should recognise

Seq scan, index scan, index-only scan, bitmap heap scan, TID scan. When the planner picks each, and what it means when you see the wrong one.

AD Admin ·Apr 21, 2026 ·11 min
In-feed sponsor
728×90 leaderboard — your brand here
Postgres tuning: the eight knobs that actually matter
#postgres Advanced

Postgres tuning: the eight knobs that actually matter

shared_buffers, work_mem, effective_cache_size, and five more — what they really do, how to size them, and which defaults are still stuck in 2008.

AD Admin ·Apr 14, 2026 ·22 min
Covering indexes: when you can skip the heap entirely
#postgres Intermediate

Covering indexes: when you can skip the heap entirely

If your index has every column the query needs, the database never has to fetch the row. Here's how to recognise the opportunity — and the storage trade.

AD Admin ·Apr 07, 2026 ·8 min