~/talk

Apache Cassandra — Streams and Memory

TalkinRussianat Joker 2021 · 2021-10-25..10-28· [databases, concurrency]
links:none on file
slides:none on file

An exploration of Apache Cassandra internals from a Java developer perspective, focusing on threading and memory. Covers how Cassandra organizes thread management and thread pools, monitoring options, whether it uses Disruptor, and the concurrency problems it addresses; and examines where data lives in memory (heap vs off-heap), the data structures used, memory consumption, and how to monitor it — based on Apache Cassandra 4.0.

AI-written summary · about

  1. 0:00Introduction
  2. 1:11Apache Cassandra 4.0 overview
  3. 2:35Monitoring streams in Cassandra
  4. 4:04Virtual tables and metrics
  5. 5:08Task queues and execution
  6. 6:11Periodic tasks and exceptions
  7. 7:18Timers and timeouts in Cassandra
  8. 10:12Binary heap for tasks
  9. 11:39Timing wheel for scheduling
  10. 13:50Hierarchical timing wheel
  11. 14:54Task prioritization
  12. 17:03Stream priority issues
  13. 19:56Stream affinity
  14. 20:38Stream overhead
  15. 23:49Executor optimizations
  16. 24:11Cassandra threads
  17. 26:42PipeCall for buffers
  18. 29:15PipeCall implementations compared
  19. 30:41Handling OutOfMemoryError
  20. 33:12OutOfMemoryError and DirectBuffer
  21. 34:13Measuring memory usage
  22. 36:18Data structures and memory
  23. 38:05Schema-level memory optimization
  24. 39:10Memtable to SSTable replacement
  25. 40:36Thread coordination on flush
  26. 42:23GC issues and Bloom Filters
  27. 44:10GC issues and MemTable
  28. 45:55GC relevance
  29. 46:18Why study Cassandra
  30. 47:30Summary and Q&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.