~/talk

Idempotence: Build Mission Critical Systems *and* Keep Your Job

Talkat UtahJS Conf 2019 · on Friday, 2019-09-20· [microservices]
slides:none on file

Idempotence prevents duplicate effects by using concrete techniques: generate client-generated idempotency keys (UIDs) so retries don’t replay operations, or use a message store with a global_position as idempotency key in event-sourced services to compare command position against an entity’s sequence and skip repeats. Kafka and network hops don’t give exactly-once delivery, so handlers must project streams and check sequence numbers. Examples include comment deduping, video-publish handlers, Stripe’s idempotency support and a Postgres messages table for reliable storage.

AI-written summary · about

  1. 0:00Introduction to idempotence
  2. 1:06Distributed computing challenges
  3. 3:14Network unreliability and failures
  4. 5:21Idempotent keys in HTTP requests
  5. 8:09Microservices and autonomy
  6. 13:30Handling messages in microservices
  7. 15:59Exactly once delivery impossibility
  8. 18:27Idempotent message handling
  9. 23:49Key principles recap
~/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.