Highlights
Latest

Effect Systems: Making Side Effects Visible

Effect systems turn hidden capabilities into composable contracts that handlers can interpret, constrain, and test.

2026-06-10·13 min read

Disjoint Set Union: Near-Constant Connectivity Queries

Derive disjoint set union from partition invariants, then apply path compression and weighted union to connectivity workloads.

2026-06-09·13 min read

Query Optimization: Reading an EXPLAIN Plan

Read PostgreSQL plans from estimates to execution, diagnose cardinality errors and spills, and make index or query fixes safely.

2026-06-08·12 min read

LLM Inference at Scale: Batching, KV Caches, and Serving

Engineer LLM serving around prefill and decode workloads, KV-cache memory, continuous batching, routing, autoscaling, and measurable goodput.

2026-06-07·14 min read

Cursor Pagination at Scale

Build cursor pagination from a stable total order, query-bound opaque tokens, matching indexes, and explicit change semantics.

2026-06-06·13 min read

Message Queues, Streams, and Durable Logs

Choose queues, streams, and durable logs by their ownership, retention, replay, ordering, and consumer-state contracts.

2026-06-05·12 min read

Database Replication: Logs, Lag, and Failover

Database replication moves an ordered change stream, but acknowledgement, replay, routing, and fencing determine freshness and failover safety.

2026-06-04·14 min read

Core Web Vitals: Measuring What Users Feel

Measure LCP, INP, and CLS with field evidence, precise attribution, targeted repairs, and regression budgets.

2026-06-03·13 min read

Cell-Based Architecture for Limiting Blast Radius

Limit failure impact by placing bounded customer populations and their request-path resources into repeatable, independently operated cells.

2026-06-02·13 min read

Diagnosing Memory Leaks with Heap Graphs

Diagnose managed-memory leaks by tracing retained objects through dominators, comparable snapshots, lifecycle mistakes, and explicit reclamation tests.

2026-06-01·12 min read

System Calls and Context Switches

Trace protected kernel entry, task switching, batching, and async I/O without reducing their costs to one misleading number.

2026-05-31·12 min read

Memory Models and the Happens-Before Relation

Reason about visibility and reordering with happens-before edges, atomic orderings, publication patterns, and litmus tests.

2026-05-30·13 min read