Skip to content
Preptima
hardScenarioDesignMidSeniorStaff

A DAG that finished in an hour now takes nine and blocks everything behind it. How do you find out where the time went?

Sum the task durations and compare that with the wall-clock span, because nine hours of waiting and nine hours of work are different problems. If the sum is still an hour, you are queueing on a bounded worker pool, usually behind sensors holding slots; if a task genuinely grew, its own duration history over the last thirty runs tells you whether it stepped or sloped.

6 min readUpdated 2026-08-15

Answer

Short answer

Diagnose a slow DAG by comparing total task runtime with the wall-clock span of the run. If tasks still add up to about an hour, the nine-hour duration is queueing, pool pressure, sensors, retries or scheduling. If task runtime actually grew, inspect per-task history to find the task that stepped or sloped before tuning the compute engine.

Was this answer helpful?

Likely follow-ups

  • Task durations sum to 55 minutes across a nine-hour span. What are the three things you check next, in order?
  • Input rows grew three times and runtime grew nine. What operation behaves that way, and how would you confirm it?
  • Nothing paged, because the DAG did not fail. What alert would have caught this on the first bad run?
  • The DAG is one file with 140 tasks and four unrelated outputs. What would you split, and what does splitting cost you?

Related questions