~/talk

EVENT SOURCING IN AKKA PERSISTENCE

Talkat Scalar 2019 · 2019-04-05..04-06· [distributed-systems]
slides:none on file

Practical notes for running Event Sourcing with Akka Persistence: implementation comes from three commercial products and uses sharded Akka clusters, an optional event bus (Kafka) and Cassandra for partitioned storage rather than a single RDBMS. Binary serialization (Avro/Protobuf) yields 60–70% disk savings and faster IO; Avro leaks into the domain, Protobuf keeps separation. Mutable state lifts throughput from 17 -> 200+ ops/s in one case. Exactly‑once delivery is impossible so use idempotent projections, sequence numbers and transactional read‑model updates; plan for split‑brain, snapshots and full rebuilds.

AI-written summary · about

  1. 0:00Intro
  2. 0:29What is Event Sourcing?
  3. 1:33Why Event Sourcing?
  4. 3:24ES from domain perspective
  5. 3:56ES from application perspective
  6. 6:27ES packaging
  7. 7:30library vs. framework
  8. 8:47ES and CQRS in Akka Persistence
  9. 12:57Event storage for Akka Persistence
  10. 13:42akka-persistence-jdbc trap
  11. 14:16Cassandra perfect for ES?
  12. 14:53Event serialization
  13. 16:45Multi-language support
  14. 17:00Schema evolution - full compatibility
  15. 18:46Memory consumption
  16. 19:22Immutable vs. mutable state?
  17. 20:55Handling duplicates
  18. 23:03Broken read model
  19. 24:18Multi aggregate transactional update
  20. 25:08Pessimistic compensation action
  21. 25:59Cluster = split brain
  22. 26:43Cluster best practises • remember about the split brain
  23. 27:41Summary
~/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.