Field guides

Start with the
failure mode.

Focused explanations, original examples and links to primary documentation. Choose the problem you are working on.

Reliability

Retries that do not become an outage.

Give every retry a reason, a delay and a deadline. Explore jitter without confusing a simulation with a production benchmark.

8 min readIntermediate
Runtime

Your deploy is a failure scenario.

Drain HTTP traffic and background work with a bounded shutdown protocol, then test the places where an operation can be interrupted.

8 min readIntermediate
Runtime

Keep the slowest consumer in control.

Build Node data pipelines that account for buffers, cancellation and partial output instead of turning every chunk into an unbounded promise.

8 min readIntermediate
Edition 2026-11-28. Examples target Node.js 24+. The downloadable lab modules were exercised on Node.js 24.22.3; full production integrations require your own environment tests.