Building in Resource Awareness and Event Dependency into Airflow
summary
Built a centralized Event Service that ingests tens of millions of events daily and stores status for downstream orchestration, plus custom scheduler dependency hooks added into Airflow’s scheduling path to check event-based upstream readiness and resource availability before launching tasks. The system runs hundreds of thousands of tasks/day on Kubernetes, can switch namespaces by updating pod manifests (useful for GPUs and quota-managed clusters), and implements deadline-aware, linear-optimization scheduling; it works at scale but embeds user code in the scheduler core, trading flexibility for risk.
AI-written summary · about
