~/talk

Building state-of-art LSM-tree compaction in ScyllaDB

Talkat Hydra 2022 · 2022-06-02..06-26· [databases]
links:none on file
slides:none on file

ScyllaDB implements incremental compaction by breaking SSTables into 160 MB fragments, letting compaction release input fragments as output fragments finish so tiered layouts no longer require ~100% extra free space. A hybrid tier/level layout compacts small recent runs like tiered storage while keeping the largest level leveled, trading write amplification against space amplification ~1.1 like leveled stores. A closed-loop controller measures compaction backlog per-strategy and adjusts compaction throughput, keeping p99 latency bounded while preventing compaction backlog and disk fill.

AI-written summary · about

  1. 0:00Introduction
  2. 1:48ScyllaDB and LSM compaction
  3. 3:34LSM compaction importance
  4. 11:49Compaction strategies trade-offs
  5. 14:00Run conjecture in compaction
  6. 15:23Cassandra vs Scylla compaction history
  7. 16:30Tiered compaction deep dive
  8. 21:29Leveled compaction deep dive
  9. 33:11Tiered vs leveled compaction challenges
  10. 37:53Hybrid and incremental compaction
  11. 43:34ScyllaDB incremental compaction
  12. 47:05Hybrid compaction benefits
  13. 51:18Tuning hybrid compaction
  14. 52:42Time-window compaction overview
  15. 53:44Self-tuning compaction theory
  16. 57:41Compaction controller in practice
  17. 1:00:11Controller performance adaptation
  18. 1:01:16Summary
~/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.