~/talk

How to build distributed systems in JavaScript

Talkat JNation 2022 · on Tuesday, 2022-06-07· [javascript, distributed-systems]
slides:none on file

Shows a working order-processing example that replaces a serverless function plus MongoDB state machine, retries and compensations with a Temporal workflow and small activity functions. Demonstrates workflow id for idempotency, automatic infinite retry exponential backoff for activities, durable state persisted via event sourcing, and durable 30‑day timers so long‑running billing survives restarts. Claims fewer incidents and simpler code; the demo runs: client starts a workflow, workers execute activities, the Temporal cluster resumes failed runs and guarantees completion.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:17What is a distributed system
  3. 4:26Reliability challenges in microservices
  4. 8:40Adding retries and timeouts
  5. 11:06Handling compensation steps
  6. 15:21State persistence and recovery
  7. 16:25Full manual implementation complexity
  8. 17:07Simplifying with Temporal
  9. 20:52Why use Temporal
  10. 24:48Orchestration vs choreography
  11. 27:14Programming model with code
  12. 31:26Long-running workflows and timers
  13. 34:15Temporal APIs and tools
  14. 35:17Benefits of switching to Temporal
  15. 37:45When to use Temporal
  16. 40:15Q&A
~/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.