~/talk

Lost in transaction Strategies to manage consistency in distributed systems

Talkat JPoint 2019 · 2019-04-05..04-06· [distributed-systems, databases]
slides:none on file

Argues against distributed two‑phase commits and insists aggregates are the consistency boundaries, then shows a runnable Spring Boot example embedding a Camunda workflow engine to implement the Saga pattern with idempotent REST calls and compensating actions (demo uses a fake Stripe endpoint). Live demo exercises retries, time‑based waits, incident marking for stuck instances, and a UI; claims 50k/sec with relational backends and up to hundreds of k–1M/sec with an event/RAFT architecture.

AI-written summary · about

  1. 0:00Introduction
  2. 0:36Domain term design
  3. 8:47Twophase commit
  4. 10:00Consistency
  5. 10:53Local asset
  6. 12:11Money transfer
  7. 13:17Order
  8. 14:24Distributed systems
  9. 17:27My favorite metaphor
  10. 19:06Network exception
  11. 20:08Payment exception
  12. 21:00Probability
  13. 21:26State handling
  14. 21:54Transparency
  15. 22:42Workflow Engines
  16. 23:33hexagonal architecture
  17. 24:44code example
  18. 30:59patterns
  19. 33:24scaling
  20. 33:45book
  21. 34:21Compensating transactions
  22. 36:36Proxy discussion
  23. 36:58Event chain
  24. 38:15Bad gut feeling
  25. 39:56Search the internet
  26. 40:21Order by risk
  27. 41:32Choreography
  28. 42:14Orchestration
  29. 43:06Compensation included
  30. 45:13Sources
  31. 45:45Graphical Models
  32. 46:06Sagas
  33. 47:16BPMN
  34. 47:29Living documentation
  35. 47:54Visualization
  36. 48:04Base DevOps
  37. 48:47Code
  38. 49:24Evaluation
  39. 49:46Tools
  40. 51:44Evaluate
  41. 54:02Questions
  42. 57:39What if this fails
  43. 59:18What if this is not synchronous
~/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.