~/talk

Event Sourcing a Node.js Application

Talkat Nordic.js 2016 · 2016-09-08..09-09· [nodejs, microservices]
slides:none on file

A concrete postmortem of adding event sourcing to a Node.js conference registration system: uses Node.js and MongoDB, hydrates read/write models per request at first and fails — the registration run collapses to zero signups — then fixes by caching models, reordering to update models before persisting events, and accepting a non‑scalable single‑process critical section. Shows actual failure modes, the surprising scale of conflict events produced, and links to code and slides on github so the implementation can be inspected.

AI-written summary · about

  1. 0:00Start
  2. 0:51Overview
  3. 4:00The Classical Approach Relational Database
  4. 4:21Idea behind Event Sourcing
  5. 9:12Standard Event Sourcing Scenario
  6. 10:47The Ticket Quota
  7. 17:53Working Hypothesis
  8. 19:49What was going on?
  9. 20:18The End
  10. 21:25Caching the Global Event Store
  11. 22:32Caching the Read Models
  12. 23:00Problem 11
  13. 24:27Eliminating Parallelization. Part II
~/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.