~/talk

NodeJS Microservices + CQRS + Event Sourcing — Why Do I Do This?

TalkinRussianat JS Fest 2018 · on Saturday, 2018-03-31· [microservices]

Describes building Node.js microservices using CQRS and Event Sourcing to produce a replayable audit log for debugging and dispute resolution. Implementation combines Kafka streams, MongoDB snapshots and Winston logging to deliver replayable events for reproducing bugs at scale, while noting operational costs and tradeoffs like duplicated models, library failures, missing Kafka topics, eventual-consistency delays, and the need for deployment and automated topic-creation scripts plus a service template to make it work.

AI-written summary · about

  1. 0:00Introduction
  2. 1:40CQRS and Event Sourcing
  3. 8:47Event Sourcing basics
  4. 15:57Event Sourcing in practice
  5. 20:49Event Sourcing challenges
  6. 25:45Logging in event-driven
  7. 28:16When Event Sourcing fails
  8. 31:48Implementation tips
  9. 35:28Q&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.