Highlights
Latest

Caching Layers: From HTTP to the Database

Design coherent browser, CDN, application, distributed, query, and database caches without trading speed for stale data or outages.

2025-12-20·11 min read

How Type Inference Actually Works

How TypeScript gathers constraints, solves type variables, widens literals, narrows control flow, and decides when inference must stop.

2025-12-09·13 min read

Domain-Driven Design: Bounded Contexts Explained

Bounded contexts turn one overloaded business model into explicit languages, ownership boundaries, and dependable integration contracts.

2025-11-28·12 min read

Prompt Engineering as Software Engineering

Treat prompts as versioned, typed, tested production artifacts with explicit contracts, evals, observability, and security boundaries.

2025-11-17·11 min read

How a Compiler Turns Code into Machine Instructions

Follow a tiny typed compiler from tokens and ASTs through SSA-like IR, optimization, register allocation, machine code, and linking.

2025-11-05·14 min read

Bloom Filters: Probabilistic Membership at Scale

Learn how Bloom filters trade a controlled false-positive rate for compact, fast membership checks across caches and databases.

2025-10-24·14 min read

How Reactivity Works Under the Hood

Build a TypeScript reactive engine and learn how tracking, computed values, scheduling, cleanup, and batching actually work.

2025-10-12·14 min read

ACID, Isolation Levels, and the Anomalies They Prevent

A practical guide to ACID, concurrency anomalies, MVCC, locks, serializable retries, invariant tests, and database guarantee boundaries.

2025-09-30·12 min read

Browser Rendering: From HTML to Pixels

Follow the browser rendering pipeline from DOM and CSSOM construction to responsive, measurable frames, then diagnose and fix costly work.

2025-09-19·11 min read

Event-Driven Architecture Without the Hype

A practical guide to events, delivery guarantees, idempotency, schema evolution, observability, and knowing when not to use them.

2025-09-08·11 min read

Retrieval-Augmented Generation from Scratch

Build a production-minded RAG pipeline with chunking, hybrid retrieval, reranking, citations, evaluation, security, and observability.

2025-08-28·14 min read

Designing a Distributed Rate Limiter

A practical design for atomic token buckets, resilient enforcement, multi-region tradeoffs, observability, and abuse resistance.

2025-08-16·12 min read