One Serverless Principle to Rule Them All: Idempotency
summary
Idempotency is presented as the single serverless principle that makes safe retries possible: generate an idempotency key, check a DynamoDB persistence store, and return the stored result so duplicated API calls (example: ordering the same cake twice after losing signal in a tunnel) don’t create harmful side effects. Tools shown include AWS Lambda Powertools (idempotency decorator), Stripe’s idempotency support, Step Functions/Durable Functions for orchestration, and a design for 100,000+ concurrent requests using persistent intent storage.
AI-written summary · about
chapters (10)
- 0:00Idempotency introduction
- 2:09What is idempotency
- 4:37Why idempotency matters
- 8:10Designing for failures
- 10:41Side effects of missing idempotency
- 16:21Key elements for idempotency
- 19:12Cake order example
- 22:52Idempotency libraries and tools
- 27:33Stripe API idempotency
- 29:19Summary
related talks
38mOne Serverless Principle to Rule Them All: Idempotency
51mConfusion In The Land Of The Serverless
25mWhere Did All My Servers Go?
44mApplying principles of chaos engineering to serverless
43mApplying the Principles of Chaos to Serverless
55mConfusion In The Land Of The Serverless
42mNo Server Is Better Than No Server: Building Blocks for Serverless Architectures
23mSimplifying design complexities using Serverless Architecture on AWS
