~/talk

Event Sourcing - what could possibly go wrong?

Talkat NDC Porto 2022 · 2022-04-25..04-29· [microservices, databases]
slides:none on file

Based on 5 commercial projects, the talk gives concrete tradeoffs: event stores use relational DBs, Cassandra or Kafka with Avro/Protobuf; binary serialization yields 60–70% disk savings and schema evolution support; single-writer sharding and snapshotting solve concurrency and replay; mutable in-memory state raises throughput from ~17 to ~2200 ops/sec in one example; Cassandra advertises 100k TPS per cluster node as a scaling target; duplicates, split-brain and GDPR key-shredding are treated with practical solutions and known failure modes.

AI-written summary · about

  1. 0:00Intro
  2. 0:11Software Mill
  3. 0:51What is Event Sourcing?
  4. 4:15Why Event Sourcing?
  5. 6:07ES and CQRS level 3.1.1
  6. 14:03ES and CQRS alternatives Change Capture Data CDC logging instead of event bus?
  7. 19:27library vs. framework
  8. 21:17Event store for Akka Persistence
  9. 22:07Cassandra perfect for ES? partitioning by design
  10. 23:25Event serialization
  11. 28:48Event payload
  12. 31:36State replay time
  13. 32:46Memory consumption
  14. 33:49Fixing state
  15. 35:11Handling duplicates
  16. 37:04Broken read model
  17. 38:27Multi aggregate transactional update
  18. 40:13Optimistic compensation action
  19. 43:00Cluster = split brain
  20. 44:31Cluster best practises
  21. 45:16Summary
~/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.