internalsGet Pro

Module 13 · Lesson 10 of 10Pro

Design: a live sales dashboard for a festival sale

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

When you finish this page you can

  1. Size a live dashboard from its click rate, order rate, viewer count and a freshness budget split second by second.
  2. Trace each part of Kartly’s festival dashboard, from the click topic to the browser, to the requirement it serves and the lesson that chose it.
  3. Choose how viewers, orders and distinct shoppers reach the screen: a shared refresher, order rows from change data capture, and approximate counts.
  4. Walk through five failures, and reconcile the live order value with finance’s report the next morning.
  1. Design: a clickstream pipeline for an online store28 min
  2. Checkpoints: recovering without losing results18 min
  3. Flink SQL: streaming with SQL17 min
  4. Real-time OLAP: ClickHouse, Druid and Pinot17 min
  5. Pre-aggregation and rollups16 min
  6. Serving analytics in products: dashboards and APIs17 min

The screen and the report will disagree

is an online store in India. Its apps send about 200 million click events a day, and it takes about 500,000 orders a day. Meera, a data engineer, already runs a live dashboard for festival sales. A job counts product views and add-to-carts every 10 seconds and writes them to , where merchandisers watch them.

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