~/talk

Things I wish I knew before I started with event sourcing

Talkat GeeCON 2023 · 2023-04-19..04-21· [microservices]
links:none on file
slides:none on file

Event sourcing works as a local state-management pattern where events are the only source of truth, giving audit trails, time travel and business analytics but demanding versioning, snapshots and careful boundaries. Practical rules: prefer protobuf for versioning, keep private domain events and publish separate integration events, avoid replaying millions of events by using snapshots (e.g. snapshot every thousand events or on key business milestones) and enforce a single-writer principle via Akka sharding or Kafka partitioning.

AI-written summary · about

  1. 0:00Introduction
  2. 1:10Event sourcing basics
  3. 6:22Event sourcing vs CRUD
  4. 8:49Benefits and trade-offs
  5. 15:52When to avoid event sourcing
  6. 16:13Domain modeling importance
  7. 19:43Eventual consistency
  8. 23:30Local approach to systems
  9. 26:20Event versioning strategies
  10. 30:12Refactoring event streams
  11. 31:59Frameworks and tools
  12. 36:13Long event streams risks
  13. 39:24Snapshot strategies
  14. 43:20Side effects handling
  15. 47:18Read models and projections
  16. 50:05Summary and advice
~/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.