Designing Idempotent and Versioned APIs
Design public HTTP APIs with safe retries, ETags, compatible evolution, explicit versions, deprecation paths, and durable contract tests.
Sharding Strategies for Horizontal Scale
Learn how shard keys, routing, rebalancing, transactions, and recovery shape a horizontally scaled database.
Understanding Big-O Beyond the Cheat Sheet
Learn to reason about bounds, input models, amortization, memory, hardware effects, and honest benchmarks when choosing algorithms.
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.
Hexagonal Architecture: Ports and Adapters in Practice
A practical guide to keeping domain rules independent through explicit ports, replaceable adapters, and focused tests.
Locks, Mutexes, and Lock-Free Data Structures
Learn when mutexes, atomic ordering, and lock-free structures provide correctness, progress, and practical performance under contention.
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.
Algebraic Data Types and Exhaustive Matching
Model alternatives explicitly, eliminate illegal states, and evolve TypeScript unions safely with exhaustive matching and validated boundaries.
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.
Consistency Models: From Linearizability to Eventual
Consistency is a product contract, not a database checkbox. Learn the guarantees, anomalies, quorum limits, and testing strategies.
Rendering Strategies: SSR, CSR, SSG, and ISR
Choose SSR, CSR, SSG, or ISR by reasoning about HTML timing, freshness, hydration, performance, personalization, and operations.
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.