~/talk

CQRS: Processing the events to query-databases

Talkat J-Fall 2017 · on Thursday, 2017-11-02· [distributed-systems, databases]
links:none on file
slides:none on file

Proof-of-concept implements a resumable, clustered query-side pipeline that reads events by tag from Akka Persistence (demo with LevelDB, production on the Cassandra plugin), stores offsets, and writes optimized read views. At ~5,000 daily advisors scale the design parallelizes processing by assigning events to tags via hash-modulo sharding so all events for one entity stay ordered while multiple processors run; occasional out-of-order gaps from Cassandra’s materialized views are handled with a short wait (example 100 ms) and retry. Evolving schemas use upcasting so projections only need the latest event shape.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 0:44Why this talk about CQRS
  3. 4:14Event sourcing fundamentals
  4. 8:18CQRS architecture explained
  5. 12:20Choosing frameworks and tools
  6. 14:51Right side with Akka Persistence
  7. 19:34Query side processing API
  8. 26:31Resume ability and event order
  9. 27:58Eventual consistency challenges
  10. 31:58Latency and scalability
  11. 35:41Handling changing requirements
  12. 37:05Event upgrade techniques
  13. 41:58Impact on query side processing
  14. 43:53Push vs pull for events
  15. 46:02Conclusion and summary
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.