Design Warehouse Pipeline Orchestration With Dependencies and Backfills
Last updated: November 29, 2026
Quick Overview
Design the orchestration system that runs tens of thousands of daily warehouse pipelines at Meta, starting each task only when its upstream partitions land and supporting large historical backfills.
Meta
November 29, 20260
0
0 solved
Design the orchestration system that runs tens of thousands of daily warehouse pipelines at Meta, starting each task only when its upstream partitions land and supporting large historical backfills.
Meta's data engineers write pipelines as code against an internal orchestrator, and DE system design rounds probe how such a scheduler works. Interviewers check partition-based dependencies, idempotent tasks, backfill isolation, and SLA tracking.
What the Interviewer Expects
- Model dependencies on data partitions, not just task order
- Explain the scheduler loop and worker execution
- Require idempotent, overwrite-partition tasks
- Isolate backfills so they do not starve daily runs
- Track SLAs and lineage
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- How would you rerun 90 days of a pipeline after a logic fix?
- What happens downstream when a task reruns and changes its output?
- How do you prevent a cycle when someone edits a pipeline?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
Functional: pipelines defined as code (DAGs of tasks); each task reads input partitions and writes an output partition for a date; schedule daily or hourly; reruns and backfills; alerts on SLA mis...
High-Level Design
- Definition repo: pipeline code is committed, validated for cycles, and compiled into a DAG stored in a metadata DB.
- Partition registry: records when each table partition is complete (w...