internalsGet Pro

Module 14 · Lesson 6 of 10Pro

Retries, timeouts and deadline alerts in Airflow

Level
Intermediate
Topic
Orchestration with Airflow
Reading time
17 min

When you finish this page you can

  1. Space a task’s retries with exponential backoff so they outlast a short outage, and check the worst case still fits before the cutoff.
  2. Give each failure one owner: the code’s own retries, Airflow’s retries, or a retry policy that fails a permanent error at once.
  3. Tell execution_timeout, a sensor’s timeout and dagrun_timeout apart, and say what each does to the run.
  4. Choose a deadline reference and callback that warn early enough to save a 07:00 report.
  1. Errors, retries and logging in pipeline code16 min
  2. Pipeline failures: detection and recovery17 min
  3. Airflow architecture: scheduler, workers and metadata17 min

A 40-minute outage woke Meera at 01:45

At 01:45 IST on Thursday 13 January 2028, Meera’s phone rings. pull_payments has failed in , and the rest of the night is waiting behind it.

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