Highlights
Latest

Designing Idempotent and Versioned APIs

Design public HTTP APIs with safe retries, ETags, compatible evolution, explicit versions, deprecation paths, and durable contract tests.

2025-08-04·14 min read

Sharding Strategies for Horizontal Scale

Learn how shard keys, routing, rebalancing, transactions, and recovery shape a horizontally scaled database.

2025-07-23·13 min read

Understanding Big-O Beyond the Cheat Sheet

Learn to reason about bounds, input models, amortization, memory, hardware effects, and honest benchmarks when choosing algorithms.

2025-07-11·15 min read

Memory Layout: Stack, Heap, and Cache Lines

See how virtual memory, allocation, object layout, and cache locality turn data placement into performance and safety tradeoffs.

2025-06-30·12 min read

Hexagonal Architecture: Ports and Adapters in Practice

A practical guide to keeping domain rules independent through explicit ports, replaceable adapters, and focused tests.

2025-06-18·12 min read

Locks, Mutexes, and Lock-Free Data Structures

Learn when mutexes, atomic ordering, and lock-free structures provide correctness, progress, and practical performance under contention.

2025-06-06·11 min read

How Transformers Actually Work (No Hand-Waving)

A shape-by-shape account of tokens, attention, transformer blocks, training, inference, KV caching, and the limits behind modern LLMs.

2025-05-27·12 min read

Algebraic Data Types and Exhaustive Matching

Model alternatives explicitly, eliminate illegal states, and evolve TypeScript unions safely with exhaustive matching and validated boundaries.

2025-05-14·13 min read

Writing a Tiny Interpreter to Understand Languages

Build a tiny TypeScript language with a lexer, Pratt parser, AST, closures, diagnostics, and tests to see how interpreters really work.

2025-05-03·19 min read

Consistency Models: From Linearizability to Eventual

Consistency is a product contract, not a database checkbox. Learn the guarantees, anomalies, quorum limits, and testing strategies.

2025-04-22·13 min read

Rendering Strategies: SSR, CSR, SSG, and ISR

Choose SSR, CSR, SSG, or ISR by reasoning about HTML timing, freshness, hydration, performance, personalization, and operations.

2025-04-09·12 min read

Database Indexing: The B-Tree You Rely On

See how PostgreSQL B-trees turn pages, fanout, ordering, and MVCC into fast lookups, ranges, and real-world tradeoffs.

2025-03-28·13 min read