~/talk

Exploring RocksDB in RGW: How We Manage Tombstones

Talkat Cephalocon 2024 · 2024-12-04..12-05· [databases]
links:none on file
links:none on file
slides:none on file

RocksDB tombstones in RGW cause list operations to stall: tens of millions of tombstones accumulate, iteration latency rises up to ~6,000× when non‑compacted, and CPU hits 100% for hours. Collected the skip count metric from each OSD, pushed to Prometheus, visualized in Grafana, and built an automated job that triggers compaction (concurrent limit three) which drops CPU and HTTP 499/503 errors. SST dump tooling shows three prefixes hold >80% of tombstones, so a range-based compaction using a count-min sketch to estimate per‑prefix deletes is proposed.

AI-written summary · about

  1. 0:00Introduction to Ceph Storage
  2. 1:20RocksDB in RGW
  3. 1:49Tombstone impact
  4. 4:35Quantifying tombstone issues
  5. 6:23RGW list internals
  6. 11:44Automatic compaction system
  7. 19:03Compaction trends
  8. 20:14Prefix-based optimization
  9. 27:13Q&A session
~/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.