Show Menu
Cheatography

AWS algorithms Cheat Sheet (DRAFT) by

AWS Algorithms cheatsheet

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Expone­ntial Backoff

Idea: when failure, retry after an expone­ntially growing timeout.
Instead of retrying at the same pace, allow the system a chance to recover
 

Circuit breaker

Uses a circuit (think electrical circuit)
With dynamoDB as state store, lambda can be the circuit.
Service A - circuit - Service B
If Serv. A's call fails, circuit opens => any call to B (from ANY service) will fail
Retry after some time, until execution works.
Common example: if payment service did not respond to order, keep it down.
Prevents any issue with payment from any other service