~/talk

Deep Dive: Cortex

Talkat KubeCon + CloudNativeCon Europe 2019 · on Wednesday, 2019-05-22· at 15:55· Hall 8.0 E4· [databases, observability]
slides:none on file

Cortex is a Prometheus-compatible, multi-tenant TSDB that stores samples in compressed “chunks” (roughly six-hour blobs a few KB each) and writes them to object/cloud stores (S3/GCS/BigTable/DynamoDB). It replicates data 3-way for no-gap HA, tolerates node loss in the demo, and serves queries via an inverted index plus chunk read path using batched iterators (batch ~12) to avoid OOMs. Performance relies on an index cache, large chunk memcache (hundreds of GB), and a query front-end that splits by day and yields ~50 ms cache hits, ~500 ms 99th pctl.

AI-written summary · about

  1. 0:00Intro
  2. 4:30Demo
  3. 12:58Storage Engine
  4. 14:53Query Path
  5. 17:28Inverted Index
  6. 23:38Index Cache
  7. 25:33Query Frontend
  8. 27:54Performance Results
  9. 28:41Closing Comments
  10. 29:17Open Source
  11. 29:49Peter Savio
  12. 33:25Bryan Boreham
  13. 35:32Global distributed parameters
  14. 36:52Multitenant
~/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.