Parallel Patterns for CPU-Bound Workloads
Structure CPU-bound work with fork/join, reductions, pipelines, sound granularity, and cache-aware verification.
Recursive Types, Fixed Points, and Folds
Derive recursive data as fixed points and replace structural recursion with reusable, testable folds.
Monotonic Stacks and Deques: Linear-Time Range Patterns
Derive next-boundary, histogram, sliding-window, and contribution algorithms from explicit ordered-candidate invariants.
Cost-Aware Performance Engineering
Optimize useful latency and throughput per dollar by combining SLO constraints, workload curves, rightsizing, cache economics, and capacity evidence.
Graph Algorithms Every Engineer Should Know
A practical guide to choosing, implementing, and testing graph traversal, shortest-path, and dependency algorithms in TypeScript.
Backpressure: Flow Control in Async Systems
Design bounded async pipelines with demand signals, watermarks, overload policies, and metrics that keep slow consumers from becoming outages.
Embeddings and Vector Search Explained
Understand embeddings, similarity metrics, exact and approximate search, filtering, evaluation, drift, privacy, and production tradeoffs.
CQRS and Event Sourcing: When and Why
Separate reads from writes, preserve intent as events, and learn when the added operational burden is justified.
Inside a Modern JavaScript Bundler
Follow source files through parsing, resolution, graph analysis, tree-shaking, chunking, caching, assets, source maps, and HMR.
SQL vs NoSQL: Choosing by Access Pattern
Choose SQL, document, key-value, or wide-column storage by workload, consistency needs, query shape, scaling, and operational cost.
The Saga Pattern for Distributed Transactions
Sagas coordinate local transactions with durable state, idempotent retries, and compensations when one global transaction is impossible.
The Actor Model for Concurrent Systems
Build concurrent systems with isolated state, asynchronous mailboxes, supervision, backpressure, recovery, and explicit failure semantics.