# Apache DolphinScheduler

Apache DolphinScheduler 是一个开源分布式工作流编排平台，它以有向无环图（DAG）的方式调度数据处理作业，并提供可视化拖拽界面来定义任务依赖关系。它是 Apache 软件基金会的顶级项目，用 Java 开发、前端采用 Vue 3，旨在解决数据管道中复杂的任务依赖与触发问题，同时提供大量开箱即用的任务类型。<sup>[1](https://www.apache.org/foundation/board/minutes/DolphinScheduler.html)</sup><sup> • </sup><sup>[2](https://github.com/apache/dolphinscheduler/blob/dev/CLAUDE.md)</sup><sup> • </sup><sup>[3](https://dolphinscheduler.apache.org/)</sup>

| 关键事实 | 详情 |
|---|---|
| 起源 | 2017 年 12 月创建于易观（Analysys），名为 EasyScheduler；2019 年 3 月在 GitHub 上开源；2019 年 8 月进入 Apache 孵化器时更名为 DolphinScheduler<sup>[4](https://news.apache.org/foundation/entry/the-apache-software-foundation-announces75)</sup><sup> • </sup><sup>[5](https://stackscape.org/en/p/apache-dolphinscheduler/)</sup> |
| Apache 状态 | 董事会于 2021 年 3 月 17 日确立其为顶级项目；2021 年 4 月 8 日对外公布<sup>[1](https://www.apache.org/foundation/board/minutes/DolphinScheduler.html)</sup><sup> • </sup><sup>[4](https://news.apache.org/foundation/entry/the-apache-software-foundation-announces75)</sup> |
| 服务 | 生产环境中有四个独立服务（API、Master、Worker、Alert）外加一个注册中心；StandaloneServer 将四个服务嵌入同一个 JVM，供开发使用<sup>[2](https://github.com/apache/dolphinscheduler/blob/dev/CLAUDE.md)</sup> |
| 任务类型 | 30 多种开箱即用的作业类型，包括 Shell、SQL、Spark、Flink、DataX、SeaTunnel、Zeppelin、SageMaker、MLflow 和 Kubernetes<sup>[3](https://dolphinscheduler.apache.org/)</sup> |
| 社区（2026 年） | 59 名 committer 和 27 名 PMC 成员；截至 2026 年 4 月 5 日的季度内有 90 次提交<sup>[1](https://www.apache.org/foundation/board/minutes/DolphinScheduler.html)</sup> |
| 最新版本 | 3.4.3，发布于 2026 年 9 月 6 日<sup>[6](https://release-catalog.apache.org/dolphinscheduler/index.html)</sup> |
| 许可证 | Apache-2.0<sup>[5](https://stackscape.org/en/p/apache-dolphinscheduler/)</sup> |

## 历史

该项目于 2017 年 12 月在中国分析公司易观内部启动，名为 EasyScheduler，是数据管道的内部调度器。2019 年 3 月在 GitHub 上发布，并捐赠给 Apache 软件基金会，2019 年 8 月进入 Apache 孵化器，此时更名为 DolphinScheduler。<sup>[4](https://news.apache.org/foundation/entry/the-apache-software-foundation-announces75)</sup><sup> • </sup><sup>[5](https://stackscape.org/en/p/apache-dolphinscheduler/)</sup><sup> • </sup><sup>[7](https://cwiki.apache.org/confluence/download/export/pdfexport-20260604-040626-1055-204999/DolphinSchedulerProposal_a60a13c60a634253b1d54927405d9172-040626-1055-205000.pdf?contentType=application%2Fpdf)</sup> ASF 董事会于 2021 年 3 月 17 日批准了确立该项目的决议，基金会于 2021 年 4 月 8 日宣布其毕业为顶级项目。戴立冬担任项目副总裁，ASF 董事会成员吴晟担任孵化导师。<sup>[1](https://www.apache.org/foundation/board/minutes/DolphinScheduler.html)</sup><sup> • </sup><sup>[4](https://news.apache.org/foundation/entry/the-apache-software-foundation-announces75)</sup>

发布历史可划分为几个主要系列：2.0 版本于 2021 年 11 月推出，3.0 版本于 2022 年 8 月推出。<sup>[5](https://stackscape.org/en/p/apache-dolphinscheduler/)</sup> 3.x 系列延续至当前版本：3.3.1（2025 年 8 月）新增了按 Worker 组分派的调度队列、日志客户端 API 和 DolphinDB 数据源；3.3.0-alpha（2025 年 4 月）将核心的“Process”概念更名为“Workflow”，并移除了数据质量模块等；3.4.0（2026 年 1 月）新增了通用 OIDC 认证、gRPC 任务插件和重构后的工作流串行策略；3.4.3（2026 年 9 月）新增了调度漏触发策略。<sup>[1](https://www.apache.org/foundation/board/minutes/DolphinScheduler.html)</sup><sup> • </sup><sup>[8](https://github.com/apache/dolphinscheduler/releases)</sup> 除主代码库外，项目还发布了 Kubernetes Operator 子项目（最新版本 2022 年 8 月 15 日）和 Python API 子项目（最新版本 2023 年 10 月 12 日）。<sup>[6](https://release-catalog.apache.org/dolphinscheduler/index.html)</sup>

## 架构

生产部署运行四个独立服务，外加一个外部注册中心和元数据库。<sup>[2](https://github.com/apache/dolphinscheduler/blob/dev/CLAUDE.md)</sup>

- **Master 服务器**从 `t_ds_command` 数据库表中消费命令记录，运行工作流 DAG 状态机，并将任务分发给 Worker。它负责 DAG 任务切分、监控任务提交，并跟踪其他 Master 和 Worker 的健康状态；它向注册中心注册临时节点，并通过监听节点变化来执行故障转移。<sup>[9](https://apache.googlesource.com/dolphinscheduler/%2B/934da2e6eec9b1856cbaec58921337ac0ed3400a/docs/docs/en/architecture/design.md)</sup>
- **Worker 服务器**通过任务插件（Shell、SQL、Spark 等）执行任务，向 Master 上报生命周期事件，并提供日志服务。<sup>[9](https://apache.googlesource.com/dolphinscheduler/%2B/934da2e6eec9b1856cbaec58921337ac0ed3400a/docs/docs/en/architecture/design.md)</sup><sup> • </sup><sup>[10](https://github.com/apache/dolphinscheduler/blob/dev/AGENT.md)</sup>
- **API 服务器**提供 UI 调用的 REST API；它将工作流定义写入元数据库，并通过 RPC 向 Master 下发启动、终止、暂停等运行时操作。<sup>[10](https://github.com/apache/dolphinscheduler/blob/dev/AGENT.md)</sup>
- **Alert 服务器**接收失败和 SLA 违规事件，并通过告警插件将其分发出去；其插件家族涵盖邮件、HTTP、飞书、钉钉、微信、PagerDuty、Telegram、Slack 以及基于脚本的渠道。<sup>[10](https://github.com/apache/dolphinscheduler/blob/dev/AGENT.md)</sup><sup> • </sup><sup>[11](https://apache.googlesource.com/dolphinscheduler/%2B/1149e9aaa39aab079d1669b9006471f2cf45c2ac/dolphinscheduler-alert/CLAUDE.md)</sup>

注册中心默认使用 Zookeeper 3.8，也支持 Etcd 和 JDBC，提供服务发现、领导者选举和分布式锁。<sup>[2](https://github.com/apache/dolphinscheduler/blob/dev/CLAUDE.md)</sup> Quartz 通过调度器插件集成，触发定时工作流，生成新的命令记录供 Master 处理。<sup>[10](https://github.com/apache/dolphinscheduler/blob/dev/AGENT.md)</sup>

**技术栈。** 后端运行在 Java 1.8（仅一个测试模块使用 Java 11）上，基于 [Spring Boot](https://www.edgepedia.org/zh/spring-boot) 2.6.1 和 Jetty，使用 MyBatis-Plus 作为 ORM、HikariCP 作为元数据库连接池，Netty 和 gRPC 用于服务器间 RPC，Maven 多模块反应器共 26 个模块；[PostgreSQL](https://www.edgepedia.org/zh/postgresql) 是默认的元数据库。前端为 Vue 3，配合 Vite、TypeScript 和 Naive UI。<sup>[2](https://github.com/apache/dolphinscheduler/blob/dev/CLAUDE.md)</sup><sup> • </sup><sup>[12](https://github.com/apache/dolphinscheduler/blob/dev/docs/docs/en/architecture/configuration.md)</sup> Master 和 Worker 可水平扩展，支持动态上下线，并设有负载保护阈值（默认系统 CPU、内存和磁盘的 0.8），节点接近饱和时停止接受工作。<sup>[3](https://dolphinscheduler.apache.org/)</sup><sup> • </sup><sup>[12](https://github.com/apache/dolphinscheduler/blob/dev/docs/docs/en/architecture/configuration.md)</sup>

**容错。** 如果 Master 丢失，其他 Master 会接管故障 Master 的流程，并继续监控 Worker 任务状态。如果 Worker 丢失，Master 会检测到其消失，并重试或终止受影响的任务，包括 Yarn 任务。<sup>[13](https://apache.googlesource.com/dolphinscheduler/%2Bshow/778bab04bcadbd967ae1c712aa1e5ca217c5ab2d/docs/docs/en/faq.md)</sup>

## 特性

DolphinScheduler 以拖拽式 DAG 画布作为工作流编写的核心，同时也支持通过 Python、YAML 和 [Open API](https://www.edgepedia.org/zh/open-api) 以代码方式定义工作流。工作流支持终止、暂停和恢复操作；支持跨项目和跨工作流的任务依赖；支持执行另一工作流的子流程节点；支持在隔离租户、Worker 组和环境下的任务运行；支持任务间的输出参数传递。数据回填可在指定日期范围内串行或并行运行任务，工作流实例可以修改、回滚和重跑，而不影响工作流模板。<sup>[3](https://dolphinscheduler.apache.org/)</sup>

资源文件可存储在 HDFS、S3、OSS、GCS、ABS 或本地存储上，通过单一配置项选择。<sup>[12](https://github.com/apache/dolphinscheduler/blob/dev/docs/docs/en/architecture/configuration.md)</sup>

## 性能与对比

项目自行开展的 2023 年基准测试在八台 AWS 8 核 16 GB 服务器上进行，使用 AWS RDS 数据库，IOPS 为 9000，测量每分钟简单 Shell 任务启动的吞吐量。在单机上，DolphinScheduler 持续达到每分钟约 2120 至 2420 次任务启动，而 Airflow 约为 1001 至 1080 次，在两者 CPU 均接近满载的情况下约为 Airflow 的两倍。在任务空闲模式下，DolphinScheduler 的独立调度能力达到每分钟 164,460 个任务。在多机测试中，DolphinScheduler 以 2 个 Master 和 5 个 Worker 达到每分钟 6,600 次任务启动，而 Airflow 以 4 个调度器和 7 个 Worker 达到 4,380 次。<sup>[14](https://medium.com/%40ApacheDolphinScheduler/performance-test-the-apache-dolphinscheduler-schedules-twice-as-many-concurrent-tasks-per-minute-32d1ee0131b0)</sup>

与 [Apache Airflow](https://www.edgepedia.org/zh/apache-airflow) 的主要架构差异在于 DAG 所在的位置：DolphinScheduler 以由数据库支撑的可视化 Web UI 为中心，而 Airflow 将管道定义为 Python 代码，DolphinScheduler 则提供 Python SDK 和 Open API 用于编程控制。一项对十个开源工作流引擎的定性学术比较将 DolphinScheduler 和 Airflow 并列列为开发特性方面的最高水平，称赞其灵活性、模块化和内置版本控制，并称 DolphinScheduler 的工作流设计器和任务监控器尤为直观。<sup>[15](https://knowledge.lancashire.ac.uk/id/eprint/52751/1/52751%20Andreou%20et%20al.%20AAM.pdf)</sup><sup> • </sup><sup>[16](https://hysenlabs.com/projects/apache-dolphinscheduler)</sup> 一份 DolphinDB 集成指南也称赞其去中心化的多 Master、多 Worker 设计避免了 Airflow 架构中存在的调度器单点故障，且无需额外的高可用组件。<sup>[17](https://docs.dolphindb.com/en/3.00.5/Tutorials/dolphinscheduler.html)</sup>

## 采用情况

在 2021 年顶级项目公告发布时，ASF 列出 DolphinScheduler 被数千家组织使用，包括百威、[中国联通](https://www.edgepedia.org/zh/china-unicom)、IDG 资本、IBM 中国、京东、联想、新东方、诺基亚中国、奇虎 360、[顺丰速运](https://www.edgepedia.org/zh/sf-express)和腾讯。<sup>[4](https://news.apache.org/foundation/entry/the-apache-software-foundation-announces75)</sup> 有文档记录的生产案例包括中国联通，它在比较了 Airflow、Azkaban 和商业调度器之后，将 1.3.2 版本部署到 80 多台服务器上；以及网易邮件，它从内部 Mammoth 平台迁移了约 300 个作业，并在 DolphinScheduler 上运行约 1,200 个离线批处理作业。<sup>[5](https://stackscape.org/en/p/apache-dolphinscheduler/)</sup><sup> • </sup><sup>[18](https://www.apachecon.com/acna2022/slides/02-William-Afternoon-Big_Data_Workflow_Orchestration-_Introducing_Apache_DolphinScheduler_v2.0.pdf)</sup> 京东物流描述了使用该平台连接和控制来自 SAP Hana 和 Hadoop 等数据源的数据流。<sup>[4](https://news.apache.org/foundation/entry/the-apache-software-foundation-announces75)</sup>

截至 2026 年 6 月，GitHub 仓库获得超过 14,300 颗星和 5,000 次复刻。<sup>[5](https://stackscape.org/en/p/apache-dolphinscheduler/)</sup>

## 社区与治理

DolphinScheduler 由 Apache 软件基金会下的项目管理委员会（PMC）治理。在截至 2026 年的季度董事会报告中，项目报告有 59 名 committer 和 27 名 PMC 成员，committer 与 PMC 成员的比例约为 2:1，没有董事会层面的问题。近期社区新增成员稀少：最后一位新增 PMC 成员是 2024 年 6 月 18 日的程新，最后一位新增 committer 是 2024 年 7 月 2 日的谭恒亮。活动通过发布和定期线上社区聚会持续进行，2026 年 4 月季度报告的聚会约有 200 人参加。<sup>[1](https://www.apache.org/foundation/board/minutes/DolphinScheduler.html)</sup>

## References

1. [Board history: DolphinScheduler, Apache Software Foundation](https://www.apache.org/foundation/board/minutes/DolphinScheduler.html)
2. [CLAUDE.md, apache/dolphinscheduler (dev branch), GitHub](https://github.com/apache/dolphinscheduler/blob/dev/CLAUDE.md)
3. [Apache DolphinScheduler official website](https://dolphinscheduler.apache.org/)
4. [The Apache Software Foundation Announces Apache DolphinScheduler as a Top-Level Project, ASF Blog (April 8, 2021)](https://news.apache.org/foundation/entry/the-apache-software-foundation-announces75)
5. [Apache DolphinScheduler: Visual DAG distributed scheduler, Stackscape](https://stackscape.org/en/p/apache-dolphinscheduler/)
6. [Apache DolphinScheduler, Apache Release Catalog](https://release-catalog.apache.org/dolphinscheduler/index.html)
7. [DolphinScheduler Proposal to the Apache Incubator, Apache Wiki](https://cwiki.apache.org/confluence/download/export/pdfexport-20260604-040626-1055-204999/DolphinSchedulerProposal_a60a13c60a634253b1d54927405d9172-040626-1055-205000.pdf?contentType=application%2Fpdf)
8. [Releases, apache/dolphinscheduler, GitHub](https://github.com/apache/dolphinscheduler/releases)
9. [System Architecture Design, DolphinScheduler documentation](https://apache.googlesource.com/dolphinscheduler/%2B/934da2e6eec9b1856cbaec58921337ac0ed3400a/docs/docs/en/architecture/design.md)
10. [AGENT.md, apache/dolphinscheduler (dev branch), GitHub](https://github.com/apache/dolphinscheduler/blob/dev/AGENT.md)
11. [CLAUDE.md, dolphinscheduler-alert module](https://apache.googlesource.com/dolphinscheduler/%2B/1149e9aaa39aab079d1669b9006471f2cf45c2ac/dolphinscheduler-alert/CLAUDE.md)
12. [Architecture configuration, DolphinScheduler documentation (dev branch), GitHub](https://github.com/apache/dolphinscheduler/blob/dev/docs/docs/en/architecture/configuration.md)
13. [DolphinScheduler FAQ, documentation archive](https://apache.googlesource.com/dolphinscheduler/%2Bshow/778bab04bcadbd967ae1c712aa1e5ca217c5ab2d/docs/docs/en/faq.md)
14. [Performance test: The Apache DolphinScheduler schedules twice as many concurrent tasks per minute as Apache Airflow, Apache DolphinScheduler on Medium (2023)](https://medium.com/%40ApacheDolphinScheduler/performance-test-the-apache-dolphinscheduler-schedules-twice-as-many-concurrent-tasks-per-minute-32d1ee0131b0)
15. [Andreou, P., Osmolovskiy, A., Hadjidemetriou, P., Fdida, S. Towards Trustworthy Experimental Replication in SLICES-RI (IFIP Networking 2024)](https://knowledge.lancashire.ac.uk/id/eprint/52751/1/52751%20Andreou%20et%20al.%20AAM.pdf)
16. [Apache DolphinScheduler tutorial and review, Hysen Labs](https://hysenlabs.com/projects/apache-dolphinscheduler)
17. [Integrating DolphinDB with DolphinScheduler, DolphinDB documentation](https://docs.dolphindb.com/en/3.00.5/Tutorials/dolphinscheduler.html)
18. [Big Data Workflow Orchestration: Introducing Apache DolphinScheduler, ApacheCon North America 2022 slides](https://www.apachecon.com/acna2022/slides/02-William-Afternoon-Big_Data_Workflow_Orchestration-_Introducing_Apache_DolphinScheduler_v2.0.pdf)

---
*Initially written Oct 26, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Databases and data systems › Data mining, warehousing, and big data › Big data platforms and frameworks

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/apache-dolphinscheduler

English original: https://www.edgepedia.org/apache-dolphinscheduler
