~/talk

Event Sourcing and CQRS

Talkat Scala Days Copenhagen 2017 · 2017-05-30..06-02· [microservices]
slides:none on file

Builds a football-league scoreboard by storing every game as an immutable event and using Lagom Persistence with Akka Persistence to emit and replay those events; events land in a Cassandra journal and MySQL read-side via a projection that stores a processing offset so replays resume correctly. Demonstrates command→event→state handlers, event tagging, cluster sharding for a single-actor-per-key guarantee, and snapshots every ~100 events to bound replay time; demo shows the MySQL table populated from the event stream.

AI-written summary · about

  1. 0:00Introduction
  2. 0:28Example
  3. 1:05Why I dont use a relational database
  4. 2:34Scaling
  5. 3:48Destructive Operations
  6. 6:08Cargo Tracking
  7. 7:37Unlearning
  8. 9:07DomainDriven Design
  9. 10:54What is an Event
  10. 12:30How do we implement this
  11. 14:29Code
  12. 14:45Aggregate
  13. 16:45State
  14. 17:41Persistent Entity
  15. 18:13Command Handlers
  16. 19:17Persistence
  17. 19:48Validation
  18. 20:26Cancellation
  19. 21:26Event Handler
  20. 24:47Service Describing
  21. 25:08Demo
  22. 28:42Cluster Carding
  23. 30:25Trance
  24. 31:28Relational Approach
  25. 31:59Scalability
  26. 32:37Efficient
  27. 33:19Event Sourcing
  28. 34:13Continuous Read
  29. 37:25Projections
  30. 39:14Stream Events
  31. 39:48Scala frameworks
  32. 40:47Fancy QRS
  33. 41:50Eventuate
  34. 43:28Rethinking
  35. 45:42Un unlearn
  36. 46:29Questions
~/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.