~/talk

Invalidate Inconsistent APIs with Idempotency

Talkat Shift Miami 2024 · 2024-04-23..04-24· [api-design, software-architecture]
links:none on file
slides:none on file

Idempotency means the same output given the same inputs, and it prevents duplicate side effects like double charges by capturing intent with three concrete parts: an idempotency key (UUID or hash of event or selected fields plus optional timestamp), an idempotency layer (API/middleware that checks keys and returns stored results), and a persistent store (DynamoDB by default for AWS Lambda Powertools but pluggable). AWS Lambda Powertools provides an idempotent decorator, time-window and concurrency protections, in‑progress state, and configurable expiration; Stripe and .NET libraries follow similar patterns.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 0:24What is idempotency
  3. 4:03Idempotency in architecture
  4. 6:31Designing for failures and duplicates
  5. 8:43Side effects of non-idempotent systems
  6. 13:18Key elements of idempotency
  7. 15:26Applying idempotency to the cake order
  8. 18:36Tools for implementing idempotency
  9. 22:51Other idempotency resources
  10. 23:53Cisco APIs and idempotency
  11. 24:16Book announcement
  12. 25:18Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.