A Smarter Way to Deploy Data Pipelines
Doximity replaced image-rebuild deployments of 900+ Airflow DAGs with a lightweight sync service that pulls DAGs from S3 into a mounted volume, cutting deployment lag from 20–40 minutes to about one minute and removing service restarts. CI publishes DAG archives to S3 along with two YAML files: an append-only project catalog of versions and an Airflow manifest listing the active project versions. The sync service polls the manifest every minute and adds, updates or deletes project DAGs to match it. It runs as a sidecar for the DAG processor and Celery workers, and as an init container that fetches only the relevant project's DAGs for ephemeral Kubernetes executor pods. Keeping metadata in S3 YAML rather than a database keeps the design simple and portable across environments.
Related posts
- Lessons Learned From Running Apache Airflow at Scale
Shopify Engineering mediumAdeptShopify runs Airflow 2.2 on Kubernetes with the Celery executor and MySQL 8, and its largest environment handles over 10,000 DAGs and 150,000 runs per day. Running at that scale meant replacing GCSFuse with an in-cluster NFS server synced from GCS, enforcing a 28-day metadata retention policy, and tracking ownership through a per-environment namespace manifest. That manifest feeds a cluster DAG policy that restricts queues, pools and Kubernetes namespaces. To smooth load spikes, Shopify uses deterministically randomized crontab schedules hashed from dag_id and manages contention with pools synced from a ConfigMap, priority weights and isolated Celery queues.
- Accelerate testing in Apache Airflow through DAG versioning
Zalando Engineering mediumAdeptZalando's Performance Marketing team runs multiple isolated versions of its Airflow-orchestrated marketing ROI pipeline on one shared test server, one per pull request. Each branch is deployed as a packaged DAG zip named after the branch. A patched Airflow DAG class reads the zip name to inject the environment into DAG ids and tags and to add unpacked folders to the Jinja template search path. A cron job tears environments down when PRs close. Matching data environments are created from stored DDLs as suffixed Spark databases on S3, using views over test tables instead of copying data, so new environments spin up in under a minute versus up to 30 minutes for a new MWAA server.
- Orchestrating Success
Vinted Engineering mediumAdeptVinted replaced hand-written, layer-per-task Airflow DAGs with a generator that reads the dbt manifest and unfolds each domain's lineage into one Airflow task per dbt model, so a failing model only blocks its true downstream dependents. Cross-team dependencies are wired automatically through a central Asset Registry that generates ExternalTaskSensors, validates upstream references in CI, and uses completion callbacks to mark already-timed-out sensors as satisfied when late upstream tasks finish. The registry also posts downstream consumers and their Slack channels on PRs that change a model. Standardizing on the generator limits access to Airflow's full operator ecosystem, but it made the Airflow 3 upgrade a single platform change instead of a rewrite of dozens of DAGs.
- Why Astronomer chose ClickHouse to power its new data observability platform, Astro Observe
ClickHouse easyNovice
Astronomer built Astro Observe, an observability platform for Apache Airflow, on ClickHouse Cloud after a per-customer Amazon RDS Postgres setup degraded on large time-range aggregations and forced limits on retained data. Airflow DAG and task events flow through an ingestion API and Go enrichment services into Kafka for buffering and replay, then into ClickHouse, while low-volume deployment and GitHub change events are written directly. Tables share common keys such as org_id, run_id and asset_id; per-table TTLs handle retention, MergeTree engines deduplicate, and materialized views precompute aggregations at insert time. The motivating numbers: 100 million tasks a month with a 1.5% failure rate, each failure taking about 1.24 hours to resolve.
- Building a Scalable Data Lake Backup System with AWS
Scribd Tech mediumAdeptScribd backs up its petabyte-scale S3 data lake each month with an incremental pipeline that copies only new or changed parquet files and always includes Delta logs. The pipeline stores copies in Glacier through S3 Batch Operations. Step Functions orchestrate the work, and validated S3 Inventory manifests are routed by size: up to 25 files run on Lambda, larger ones on ECS Fargate with no timeout. Old source-deleted files are tagged for S3 lifecycle cleanup after 90 days instead of being deleted outright, which keeps a path for rollback and cuts cost.