~/talk

Casting the Spell: Druid in Practice

Talkat Berlin Buzzwords 2021 · 2021-06-15..06-17· [databases, data-engineering]
links:none on file
links:none on file
slides:none on file

Apache Druid powers a pipeline that ingests tens of terabytes daily (10 billion events/day, >5 PB lake, 60 TB/day on S3) using Hadoop-based ingestion with numShards and affinity to scale; distinct counts use DataSketches (KMV), tuning sketch size (default 16k, examples 4k vs 65k) to trade accuracy for latency. Lookups replace mutable audience names to avoid reindexing. Retention uses load/drop rules plus kill tasks; widening kill task intervals removes unused segment versions and cuts one S3 bill by ~95% for a large data source.

AI-written summary · about

  1. 0:00Introduction
  2. 2:56Business context
  3. 3:24Data infrastructure
  4. 3:59Building target audiences use-case
  5. 5:17Funnel analysis use-case
  6. 6:34The core challenge
  7. 7:13What is Theta Sketch?
  8. 9:12The Theta Sketch module in Druid
  9. 10:20High-level overview of the flow
  10. 10:58Data modeling
  11. 11:39Data model - introducing Theta Sketch
  12. 12:50Data model - slowly changing dimensions
  13. 13:14Data model - lookups
  14. 14:25Data model - summary
  15. 15:42Hadoop-based ingestion tips • Parallel execution of ingestion tasks from seperate Hadoop clusters
  16. 17:09Ingestion - summary
  17. 18:06Retention & deletion tips
  18. 18:53Retention & deletion example
  19. 19:31Dimension-based TTL
  20. 21:03Retention & deletion - summary
  21. 21:38Why did we choose native queries?
  22. 22:00Query optimization
  23. 24:17Bonus slide-read-only cluster
~/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.