~/talk

A Tale of One Billion Time Series

Talkat SREcon18 Asia/Australia · 2018-06-06..06-08· [databases]
links:none on file
slides:none on file

Baidu stores and serves 1 billion time series with a three-tier TSDB: Redis+HBase+HDFS for hot, warm and cold data; ingestion hits ~40M points/sec with 50 TB/day and read/write throughput ~10M reqs/sec. The system adds multi-level down-sampling written into HBase, Redis caching of hot/key metrics, batch async writes and partitioned HBase tables to avoid compaction/split stalls. Response 99p falls ~90% and cluster-level hot-standby and repair jobs preserve availability.

AI-written summary · about

  1. 0:00Intro
  2. 0:22About me
  3. 2:00Want a chicken dinner?
  4. 4:22Everything about our services
  5. 5:08Incident response
  6. 5:32Capacity planning
  7. 7:24What 1B time series will bring...
  8. 11:12Data layout in HBase
  9. 12:30Layout of data table
  10. 14:20Problems: slow queries
  11. 15:46Query patterns
  12. 16:38Query cases
  13. 17:41For latency-insensitive queries
  14. 19:00For latency-sensitive queries
  15. 20:14For long-term trend data
  16. 21:34Multi-level down-sampling
  17. 24:06Distinguish key & hot metrics
  18. 24:37Cache key & hot metrics in Redis
  19. 25:11Reduce Redis memory consumption
  20. 25:50Problems HBase performance degradation
  21. 26:22About compaction
  22. 28:11Why are compaction & splitting bad?
  23. 30:55Region pre-splitting
  24. 32:49Reduce HDFS R/W latency
  25. 34:03Deal with stop-the-world GCs in saver
  26. 36:37Final architecture
  27. 37:34Hot standby
  28. 38:47Multi-level data availability
  29. 39:34Isolation
  30. 40:55Summary
~/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.