~/talk

Data in Motion: Streaming Static Data Efficiently in Akka Persistence

Talkat Scala Days Berlin 2016 · 2016-06-15..06-17· [distributed-systems]
links:none on file
slides:none on file

Implements the Akka Persistence Query stream production spec inside akka-persistence-cassandra and replaces blocking replay iterators with non‑blocking events by persistence id streams (uses eventsByPersistenceId for replay, tuning dispatcher, resultSize and buffer for best throughput). Shows eventsByTag and allPersistenceIds implementations, exposes a correctness problem: Cassandra’s materialized‑view replication can reorder partitions so a default 10s eventual‑consistency delay is a brittle workaround. Proposes write‑ahead logs per node merged into a single causal stream to get read‑your‑own‑writes and exactly‑once semantics; new replay is resource‑efficient and generally faster in practice.

AI-written summary · about

  1. 0:00Intro
  2. 0:26Data at scale
  3. 1:10Streams
  4. 4:56Log data structure
  5. 7:51Akka Persistence Query
  6. 12:03Streaming static data
  7. 12:40Pulling data from a log
  8. 13:12Actor publisher
  9. 15:18Events by persistence id
  10. 16:24All persistence ids
  11. 18:24Events by tag
  12. 22:50Akka Persistence Cassandra Replay
  13. 24:06Non blocking asynchronous replay
  14. 24:41Benchmarks
  15. 25:49Alternative architecture
  16. 29:52Event time processing
  17. 31:40Ordering
  18. 32:25Distributed causal stream merging
  19. 34:29Exactly once delivery
  20. 37:31Akka Analytics
  21. 39:53Distributed systems
  22. 42:45Challenges
  23. 43:36Conclusion
  24. 44:08Questions
~/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.