System design, drawn

18 of 38Reliability

38 patterns, 16 systems built from them

Foundations What one request actually does, and where its time goes.

Traffic Deciding what gets in, and spreading what does.

Caching Keeping answers closer than the thing that produced them.

Storage Where the data lives, and what it costs to find or move it.

Messaging Handing off work, and surviving what goes wrong with it.

Coordination Several machines agreeing on one answer.

Reliability Failing in ways that stay contained.

Systems built from those patterns

Auto-waiting

Retry a check until it passes or a deadline expires, instead of sleeping for a guessed number of seconds. This is how Playwright and WebdriverIO take most of the flakiness out of UI tests.

Assumes nothing. You can start here.