internalsGet Pro

Module 18 · Lesson 1 of 13Pro

Finding bottlenecks in data pipelines

Level
Intermediate
Topic
Scale, performance and cost
Reading time
16 min

When you finish this page you can

  1. Find the critical path of a pipeline run from its task timings, and say which steps can’t change the finish time.
  2. Split a slow step’s time into working and waiting, and name the tool that shows each in Airflow, Snowflake, Spark and Flink.
  3. Estimate what a bigger warehouse or a code fix would save before paying for either.
  4. Re-measure after each fix and stop when the target is met, because the bottleneck moves.
  1. Design: orchestrating a daily reporting pipeline28 min
  2. Incremental models and late-arriving data17 min
  3. Reading the Spark UI to debug jobs17 min
  4. Scaling and operating streaming jobs18 min

The report was 12 minutes late

At 07:00 IST on Monday 5 March 2029, Daniel, who leads finance reporting, opens Sunday’s sales report and finds Saturday’s, labelled as stale. is an online store in India that takes about 500,000 orders a day. Every night its Airflow pipeline, kartly_nightly, loads the day’s orders and payments into Snowflake, rebuilds the finance tables with dbt and publishes the report Daniel reads at 07:00.

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