~/talk

Autoscaling in Airflow Lessons learned

links:none on file
links:none on file
slides:none on file

Cloud Composer uses external metric = ceil(queue_size / worker_concurrency) exported to Cloud Monitoring every 60 seconds and read by Kubernetes HPA with a 70 second stabilization window so pods only change after two samples. Worker pods run with explicit CPU and memory requests and the cluster uses GKE Autopilot so nodes scale automatically. Scale down uses a custom Airflow worker set controller that queries the Airflow DB and only removes idle workers. Pod startup often adds two to four minutes and huge single-node ML jobs remain unsupported.

AI-written summary · about

  1. 0:00Introduction to speakers
  2. 0:40What is Cloud Composer
  3. 1:43Airflow terminology explained
  4. 3:30Current Composer architecture
  5. 5:15Problems with static scaling
  6. 6:40What is auto scaling
  7. 8:05Auto scaling solution overview
  8. 9:48Configuring auto scaling
  9. 10:11Metrics for auto scaling
  10. 13:43GKE autopilot details
  11. 14:04Auto scaling flow explained
  12. 16:54Scaling down challenges
  13. 17:37Custom controller solution
  14. 20:06Future plans
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.