raydp
381
Stars
85
Forks
10
Watchers
70
Open Issues
Apache-2.0
许可证
Scala
语言
2020-04-17
创建时间
2026-11-02
最近更新
项目能做什么
RayDP 解决了传统 AI 流水线中 Spark 数据处理与深度学习训练常需分设独立集群、数据流转慢且运维复杂的问题。
它支持直接在 Ray 集群上运行 Spark,允许开发者在单个 Python 程序中混合编写 PySpark 与 AI 库代码;还提供将 Spark DataFrame 转换为 Ray Dataset 的 API,通过 Ray 内存对象实现高效数据交互。
来源:AI 基于仓库事实生成
· 内容以仓库实际 README 为准
使用说明 查看原始 README 原仓库文档
中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
# [RayDP]() RayDP provides simple APIs for running Spark on [Ray](https://github.com/ray-project/ray) and integrating Spark with AI libraries, making it simple to build distributed data and AI pipeline in a single python program. # INTRODUCTION ## Problem Statement A large-scale AI workflow usually involves multiple systems, for example Spark for data processing and PyTorch or Tensorflow for distributed training. A common setup is to use two separate clusters and stitch together multiple programs using glue code or a workflow orchestrator such as AirFlow or KubeFlow. However, in many cases this adds costs in terms of system efficiency and operations. The setup overhead of the workflow tasks adds latency. Data exchange among frameworks has to rely on external storage system which also adds latency. On operation side, managing two separate clusters introduces additional cost. Writing the pipeline using workflow orchestrator usually is also more complex than writing a single python program. ## Solution with Ray and RayDP To solve the above challenges, more and more companies have adopted Ray as a single substrate for data processing, model training, serving and more. Ray makes it simple to build the data and AI pipeline in a single python program and scale from laptop to a cluster seamlessly. Ray has built a rich ecosystem by providing high quality libraries and integrating with other popular ones. Spark as a popular big data framework plays an important role in data and AI pipelines. RayDP brings Spark to the Ray ecosystem by supporting running Spark on top of Ray. By using RayDP, you can easily write PySpark code together with other Ray libraries in the same python program which improves productivity and expressivity. RayDP makes it simple to build distributed end-to-end data analytics and AI pipeline. RayDP supports exchanging data between Spark and other frameworks using Ray's in-memory object to provide best performance. ## Who will use RayDP * ML infrastructure team can build a modern ML platform on top of Ray, utilize RayDP to run Spark on Ray and unify with other AI components. * Data scientists can use RayDP to write PySpark code together with other AI libraries, scale from laptop to cloud seamlessly. * Data engineers can use RayDP to run on-demand Spark job in cloud without a need to setup a Spark cluster manually. The Ray cluster launcher helps to start a Ray cluster in cloud and RayDP allows you to run Spark in that cluster with auto scaling. ## Presentations * Data + AI Summit 2021: [Build Large-Scale Data Analytics and AI Pipeline Using RayDP](https://www.youtube.com/watch?v=B4iXQtxX2cs) * Ray Summit 2021: [RayDP: Build Large-scale End-to-end Data Analytics and AI Pipelines Using Spark and Ray](https://www.youtube.com/watch?v=ELSrR1Geqg4) # ARCHITECTURE RayDP provides simple APIs for running Spark on Ray and APIs for converting a Spark DataFrame to a Ray Dataset which can be consumed by XGBoost, Ray Train, Horovod on Ray阅读完整原文
项目深度分析 AI 生成
Spark-on-Ray 架构迁移与混合计算咨询方案
| 产品构想 | 针对已有自建Spark与分布式深度学习集群的企业,提供使用RayDP统一计算底座的迁移方案与架构设计服务 |
| 核心功能 | 集群合并评估、跨框架内存对象存储调优、PySpark与PyTorch/XGBoost代码重构指导、性能基准对比测试报告 |
| 目标用户 | 拥有中大型大数据和AI集群、饱受两套基础设施运维痛点的企业架构团队 |
| 难度/周期 | 高 · 2-3个月 · 成本:人力成本(需精通Spark内核与Ray Actor底层调度机制专家) |
| 收费模式 | 按咨询人天计费或项目交付里程碑付费 |
| 竞争风险 | 销售周期长,依赖客户对底层基建动大手术的意愿,不同版本Spark/Ray适配成本极高 |
| 依据 | 已验证事实 |
RayDP企业级性能加速与内存诊断工具套件
| 产品构想 | 打造开箱即用的RayDP性能监控与内存调优插件,防止Spark在Ray Actor中运行时的OOM和性能瓶颈 |
| 核心功能 | Spark Executor在Ray集群上的CPU/内存粒度级监控仪表盘、跨组件(Spark到Ray Dataset转换)瓶颈分析、零拷贝内存异常预警 |
| 目标用户 | 大规模运行RayDP的生产环境运维与MLOps工程师 |
| 难度/周期 | 中等 · 1-2个月 · 成本:开发及云原生测试集群环境成本 |
| 收费模式 | 企业License授权或SaaS监控订阅费用 |
| 竞争风险 | 需要依赖社区Ray和RayDP底层API的稳定性,随着开源框架自身演进而面临被上游原生功能替代的风险 |
| 依据 | 数据支持的判断 |
托管式云原生端到端 Data+AI 流水线模版与培训服务
| 产品构想 | 面向数据科学团队,提供开箱即用的RayDP流水线工程脚手架(含K8s/云厂商部署模版)和企业培训 |
| 核心功能 | 单Python脚本的End-to-End模板库(Spark+XGBoost/PyTorch/RayTune)、云资源弹性自动扩缩容配置、最佳实践内训课程 |
| 目标用户 | 希望将Spark处理结果直接用于分布式模型训练但缺乏分布式工程能力的数据科学团队 |
| 难度/周期 | 低 · 2-4周 · 成本:课程与脚手架整理时间成本,极低服务器成本 |
| 收费模式 | 企业内训打包费用、标准化脚手架订阅授权 |
| 竞争风险 | 单价相对较低,客户若有资深底层工程师可能倾向于自行按开源文档拼装 |
| 依据 | AI推测 |
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心
竞品与相似项目 GitHub Search 真实检索
| 项目 | 中文简介 | Stars | 语言 |
|---|---|---|---|
| 2dust/v2rayN | 中文介绍暂未生成 A GUI client for Windows, Linux and macOS, support Xray and |
120,455 | C# |
| 2dust/v2rayNG | 中文介绍暂未生成 A V2Ray client for Android, support Xray core and v2fly core |
65,748 | Kotlin |
| v2ray/v2ray-core | 中文介绍暂未生成 A platform for building proxies to bypass network restrictio |
46,907 | Go |
| ray-project/ray | 中文介绍暂未生成 Ray is an AI compute engine. Ray consists of a core distribu |
44,272 | Python |
| raysan5/raylib | 中文介绍暂未生成 A simple and easy-to-use library to enjoy videogames program |
35,640 | C |
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。
项目优势与风险
| 技术成熟度 | 创建于 2020-04-17,近 30 天仍在推送,发布过 16 个 Release |
| 社区活跃 | Star 381 / Fork 85 / Issue 70(数据支持,可自行核实) |
| 许可证 | Apache-2.0 |
| 主要风险 | 上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价 |
安装与使用
此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。