~/talk

Building Event-Driven Microservices with Event Sourcing and CQRS

Talkat NDC Oslo 2018 · 2018-06-11..06-15· [microservices]
links:none on file
slides:none on file

Wix replaces row-state storage with a writable event store + event bus, builds read-optimized views for queries, and runs an invoice service that serves tenants at 120 million users and ~5 billion requests/day. Events become the immutable audit log, are replayable for testing and migrations, and views are rebuilt or kept eventually consistent via three strategies (replay-on-read, synchronous view writes, or version-gap repair). Uses optimistic versioning, a Scala reducer/fold implementation and Accord for payload validation; the system is deployed and actively migrated multiple products onto it.

AI-written summary · about

  1. 0:00Intro
  2. 1:59Accidental Complexity
  3. 5:11We Lose Data By Design
  4. 13:23CRUD is Difficult to Scale
  5. 18:01CQRS is an Optimization
  6. 24:33Event Sourcing is Not a Silver Bullet Beware of the added complexity
  7. 28:52Your Business Domain Drives The Consistency Level
  8. 31:57Your Business Domain Drives The Way You Validate the Data
  9. 34:58Your Business Domain Drives The Locking Mechanism
  10. 35:32Lessons Learned
  11. 35:54Small Steps Event sourcing is not a top-level architecture
  12. 37:05Code Changes Beware of changing the event definitions in your code
~/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.