Platform Protocols

Concept library

How real systems behave

Each concept explained from first principles, anchored in a real incident or a real implementation, with every claim sourced. Read it here; practise it in the app.

Resilience · PatternBackoff with jitterWait before you retry, wait longer each time, and randomize the wait, so a crowd of clients doesn't hit a recovering service in one wave.
Resilience · ConceptCascading failureA failure that feeds itself: one part breaking adds load to the parts around it, which raises their chance of breaking too, so the failure keeps growing instead of settling down.
Resilience · PatternCircuit breakerWatch calls to a dependency fail. Once the failure rate crosses a threshold, stop calling it at all, then let a few trial calls decide when to start again.
Resilience · ConceptIdempotency keyA unique key sent with a request so that, if it is retried, the server returns the first result instead of doing the work twice.
Resilience · Anti-patternRetry stormRetries pile onto a service that is already failing. One layer is enough to add load; when several layers each retry, one request turns into dozens of attempts.
Reliability · ConceptService level objectivesPick a measure users care about, set a target below 100%, and treat the gap as a budget for change. Google’s SRE book says error budgets take the politics out of deciding how much risk to allow.
Resilience · PatternTimeoutsGive every remote call a maximum wait, so a hung dependency cannot hold your threads, memory and connections forever.

More concepts are added alongside each Platform Protocols Journal issue.