~/talk

One Serverless Principle to Rule Them All: Idempotency

Talkat Moar Serverless 2022 · on Thursday, 2022-08-11· [serverless, software-architecture]
slides:none on file

Central claim: idempotency is the essential serverless principle because retries and failures will otherwise produce harmful duplicates. Concrete solution: generate an idempotency key, check it in an idempotency layer backed by DynamoDB persistence (AWS Lambda Powertools provides an idempotency module for Java/Python with 3600s default TTL). Example workflow (cake order) shows duplicates are detected and the original result is returned instead of reprocessing, preventing extra orders; step functions and durable functions are recommended for orchestration.

AI-written summary · about

  1. 0:00Introduction to Idempotency
  2. 1:31Defining the Term
  3. 4:39Serverless Architecture
  4. 9:03Failures and Duplicates
  5. 12:33Side Effects in Workflow
  6. 17:43Implementing Idempotency
  7. 21:17The Idempotent Workflow
  8. 25:53Tools and Libraries
  9. 31:07Q&A and Conclusion
~/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.