Core concepts
The building blocks. Explained clearly.
A handbook for software systems
Complex systems. Clear thinking.
Learn how engineering systems work, where they fail, and how to make sound design decisions.

Newly Published

Exceptions thrown inside `executor.submit()`, `ScheduledExecutorService.scheduleAtFixedRate()`, and unawaited `CompletableFuture`s are captured silently inside `FutureTask`—halting periodic jobs permanently and hiding production failures with zero logs.

A 5% canary deployment received 0.4% of actual requests—all new/anonymous users—because ALB sticky sessions pinned 95% of returning authenticated users to Baseline.

Replace blocking XA/2PC distributed locks with an orchestrated Saga using semantic reservations, idempotent steps, transactional outbox messaging, and compensating actions for non-blocking fault tolerance.

Under 15,000+ writes/sec, polling a PostgreSQL transactional outbox table with `SELECT ... FOR UPDATE SKIP LOCKED` and `DELETE`/`UPDATE` generates massive MVCC dead tuples, starves autovacuum, bloats B-tree indexes, and stalls event relay.

Find the k most frequent integers without sorting all elements. Count occurrences, group values by frequency, and scan buckets from highest to lowest.

A simultaneous ingress/ALB rotation drops 120,000 mTLS connections; without shared TLS 1.3 session ticket keys or jittered reconnects, 60,000 full ECDHE + RSA-2048 handshakes/sec pin CPU at 100%.
Find your starting point
The building blocks. Explained clearly.
Real requirements. Concrete designs.
Patterns in the context that matters.
How to structure, reason, and prepare.