---
title: "A Smarter Way to Deploy Data Pipelines"
description: "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."
url: "https://swe.quest/articles/a-smarter-way-to-deploy-data-pipelines-d4e839cee7391855"
canonical: "https://technology.doximity.com/articles/a-smarter-way-to-deploy-data-pipelines"
source: "Doximity Technology"
published: "2025-03-12"
difficulty: "medium"
kind: "Case study"
reading_minutes: 6
tags: ["data-pipelines","deployment","ci-cd","cloud"]
---

# A Smarter Way to Deploy Data Pipelines

A post on [Doximity Technology](https://swe.quest/sources/doximity.md), published 2025-03-12, 6 min read, Case study. Original: [https://technology.doximity.com/articles/a-smarter-way-to-deploy-data-pipelines](https://technology.doximity.com/articles/a-smarter-way-to-deploy-data-pipelines)

## Summary

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.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Data pipelines](https://swe.quest/tags/data-pipelines.md) (Data & databases)
- [Deployment](https://swe.quest/tags/deployment.md) (Reliability & operations)
- [CI/CD](https://swe.quest/tags/ci-cd.md) (Reliability & operations)
- [Cloud platforms](https://swe.quest/tags/cloud.md) (Infrastructure)

## Prerequisites

- Apache Airflow DAGs ([easy posts on Data pipelines](https://swe.quest/tags/data-pipelines.md?difficulty=easy))
- Docker containers ([easy posts on Containers](https://swe.quest/tags/containers.md?difficulty=easy))
- AWS S3 ([easy posts on Cloud platforms](https://swe.quest/tags/cloud.md?difficulty=easy))
- CI/CD pipelines ([easy posts on CI/CD](https://swe.quest/tags/ci-cd.md?difficulty=easy))

## Keywords

Apache Airflow, Amazon S3, Docker Compose, Celery, Kubernetes executor, AIP-5, git-sync

## Related posts

- [Lessons Learned From Running Apache Airflow at Scale](https://swe.quest/articles/lessons-learned-from-running-apache-airflow-at-scale-465dd0ced6d11da7.md): Shopify Engineering · 2022-05-23 · Medium · 12 min read · Scheduling, Data pipelines, Multi-tenancy, Scaling, Kubernetes
  Shopify 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.
- [Accelerate testing in Apache Airflow through DAG versioning](https://swe.quest/articles/accelerate-testing-in-apache-airflow-through-dag-versioning-47ddaa996af2a67d.md): Zalando Engineering · 2022-06-09 · Medium · 8 min read · Data pipelines, Testing, Deployment, CI/CD, Python
  Zalando's Performance Marketing team runs multiple isolated versions of its Airflow-orchestrated marketing ROI pipeline on one shared test server, one per pull request.
- [Orchestrating Success](https://swe.quest/articles/orchestrating-success-66bb3bb5fc88069f.md): Vinted Engineering · 2025-12-29 · Medium · 9 min read · Data pipelines, Scheduling, Developer productivity
  Vinted 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.
- [Why Astronomer chose ClickHouse to power its new data observability platform, Astro Observe](https://swe.quest/articles/why-astronomer-chose-clickhouse-to-power-its-new-data-observability-platform-f5c7916b8461008d.md): ClickHouse · 2025-03-10 · Easy · 7 min read · Analytics & OLAP, Observability, Data pipelines, Queues & messaging
  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.
- [Building a Scalable Data Lake Backup System with AWS](https://swe.quest/articles/building-a-scalable-data-lake-backup-system-with-aws-958a533ab6f4ff30.md): Scribd Tech · 2025-09-22 · Medium · 3 min read · Cloud platforms, Data pipelines, Cost optimization, Storage systems, Serverless
  Scribd 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.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
