~/talk

Asynchronous Transport for Cassandra

TalkinRussianat Joker 2022 · 2022-11-08..11-19· [databases, distributed-systems]
links:none on file
slides:none on file

A Java team at Odnoklassniki moved Cassandra request coordination into FatClients — making clients full cluster participants to cut network hops and offload coordinator work — but hit scale limits in Cassandra’s transport when thousands of nodes and clients were involved. The talk describes their own asynchronous Cassandra transport implemented in pure Java using NIO and a compact Actor Model, covering its design, optimizations, encountered problems, and the rollout of the async transport into production to save resources and simplify development.

AI-written summary · about

  1. 0:00Introduction
  2. 1:50Transport issues in Cassandra
  3. 3:36Synchronous transport drawbacks
  4. 4:42FatClient pattern at Odnoklassniki
  5. 7:07Cassandra internal transport problems
  6. 8:58Goals of async transport
  7. 10:22New transport architecture
  8. 13:31Actors for async
  9. 16:20Actors in Java example
  10. 20:13Actor hierarchy in transport
  11. 21:41New transport benchmarks
  12. 24:10Socket optimization
  13. 25:16Actor performance issues
  14. 27:05Context switch optimization
  15. 29:11Transport benchmarks results
  16. 30:14Production deployment problems
  17. 32:21TCP latency analysis
  18. 33:25Coordinator flaps issues
  19. 34:28Flap causes analysis
  20. 35:51Locking and GC problems
  21. 36:55Java NIO memory leaks
  22. 38:00Non-breaking connections issues
  23. 39:01Echo messages problems
  24. 39:45New transport results
  25. 40:53Project conclusions
  26. 41:55Cassandra 4.0 comparison
  27. 43:21Q&A
~/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.