~/talk

Sparse High-resolution Histograms in the Prometheus TSDB

Talkat PromCon North America 2021 · on Monday, 2021-10-11· [databases]
slides:none on file

Prometheus TSDB prototype stores sparse high-resolution histograms as single series per histogram with metadata encoding a growth factor 1.1 and a sparse run-length list of used buckets, samples encoded with delta/delta and XOR for sums. Benchmarks show ~index size ~17x reduction (93–94%), chunk size down 43–48%, overall storage 48–60% less. Observed bucket counts vary 1–128 observed; implementation scrapes, ingests and retrieves raw histograms, is experimental, and falls back to lowering precision when a configured bucket limit (default 150) is exceeded.

AI-written summary · about

  1. 0:00Introduction
  2. 0:49Recap
  3. 2:00Improvements
  4. 3:53Design Dock
  5. 4:12Hackathon
  6. 4:25Heatmap
  7. 6:03Overview
  8. 6:30Sparse Buckets
  9. 8:22Histograms Chunk
  10. 11:05Test Setup
  11. 11:47Data Structure
  12. 13:17Data Snapshot
  13. 14:15Benchmark Results
  14. 15:53Conclusion
  15. 17:34Partitioning
  16. 18:21Limitations
  17. 19:32Future work
  18. 20:46Outro
~/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.