~/talk

One Serverless Principle to Rule Them All: Idempotency

Talkat NDC London 2023 · 2023-01-23..01-27· [serverless, microservices]
slides:none on file

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

  1. 0:00Idempotency introduction
  2. 2:09What is idempotency
  3. 4:37Why idempotency matters
  4. 8:10Designing for failures
  5. 10:41Side effects of missing idempotency
  6. 16:21Key elements for idempotency
  7. 19:12Cake order example
  8. 22:52Idempotency libraries and tools
  9. 27:33Stripe API idempotency
  10. 29:19Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.