internalsGet Pro

Module 13 · Lesson 2 of 10Pro

Real-time OLAP: ClickHouse, Druid and Pinot

Level
Intermediate
Topic
OLAP and real-time analytics
Reading time
17 min

When you finish this page you can

  1. Explain how ClickHouse, Druid and Pinot each read a Kafka topic and make new rows queryable within seconds.
  2. Trace a ClickHouse insert from a new part through background merges to the sparse index a query uses.
  3. Choose a sort key by working out how many granules a dashboard query reads.
  4. Decide between the three engines for a given team, query load and freshness target, and say what would change the choice.

Builds on 2 lessons

Start with lesson 113 min
  1. OLAP engines: answering analytical questions fast13 min
  2. Checkpoints: recovering without losing results18 min

The panel the counts table can’t draw

is an online store in India. Its apps send about 200 million click events a day to the Kafka topic kartly.clicks. A job, live-dashboard, counts product views and add-to-carts per product every 10 seconds. It writes those counts to , and merchandisers watch them on the live festival dashboard during sales.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan