~/talk

Year with eventsourcing and CQRS

Talkat WebCamp Zagreb 2017 · 2017-10-06..10-07
slides:none on file

Practical account of using event sourcing + CQRS on PHP projects: an aggregate with ~10 events loads in ~10ms, a misdesigned monster aggregate grows to 650k events and 700 entities prompting snapshot every 200 events to keep loads under ~100ms, replaying historical data to build a new read model processes 16,000 events in under one minute. Elasticsearch as primary read store causes pain, so migration to MySQL simplifies testing. UUIDs for IDs, queues with shard-by-first-letter to avoid contention, and strong automated tests are mandatory.

AI-written summary · about

  1. 0:00Introduction to modern challenges
  2. 5:00Event sourcing basics explained
  3. 10:52When to use event sourcing
  4. 14:55Testing in event-driven systems
  5. 17:59Performance and snapshotting
  6. 21:18UUIDs and aggregate roots
  7. 23:47Class explosion in CQRS
  8. 26:42Read side modeling and replay
  9. 28:30Choosing familiar technologies
  10. 30:00Final recommendations and takeaways
  11. 31:25Q&A session
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.