eclipse-iceoryx/iceoryx2

GitHub: eclipse-iceoryx/iceoryx2

以 Rust 为核心的零拷贝、无锁进程间通信中间件,旨在为多进程间海量数据交换提供超低延迟的可靠通信能力。

Stars: 2335 | Forks: 155

[![CI](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/20b849c9a9002846.svg)](https://github.com/eclipse-iceoryx/iceoryx2/actions/workflows/build-test.yml?query=branch%3Amain++) [![Codecov](https://codecov.io/gh/eclipse-iceoryx/iceoryx2/branch/main/graph/badge.svg?branch=main)](https://codecov.io/gh/eclipse-iceoryx/iceoryx2?branch=main) [![示例](https://img.shields.io/badge/Examples-gray)](examples/) [![常见问题解答](https://img.shields.io/badge/FAQ-gray)](FAQ.md) [![Gitter](https://badges.gitter.im/eclipse-iceoryx/iceoryx.svg)](https://gitter.im/eclipse/iceoryx) [![开发者聚会](https://img.shields.io/badge/Developer_Meetup-gray?style=social)](https://github.com/eclipse-iceoryx/iceoryx2/wiki/Developer-Meetup) [![路线图](https://img.shields.io/badge/Roadmap-gray)](ROADMAP.md)

# iceoryx2 - 以 Rust 为核心的零拷贝无锁 IPC * [简介](#introduction) * [性能](#performance) * [机制对比](#comparison-of-mechanisms) * [基准测试系统](#benchmark-system) * [架构对比](#comparison-of-architectures) * [文档](#documentation) * [用户文档](#user-documentation) * [贡献者文档](#contributor-documentation) * [API 参考](#api-references) * [支持的平台](#supported-platforms) * [语言绑定](#language-bindings) * [商业支持](#commercial-support) * [感谢所有贡献者](#thanks-to-all-contributors) ## 简介 欢迎使用 iceoryx2,这是一款高效且超低延迟的进程间 通信中间件。该库旨在为您提供快速且 可靠的零拷贝和无锁进程间通信机制。 因此,如果您想在多个进程或 应用程序之间进行高效通信,iceoryx2 就是为您准备的。使用 iceoryx2,您可以: * 使用发布/订阅、请求/响应、 pipeline(计划中)或黑板模式发送海量数据,使其成为 需要共享大型数据集场景的理想选择。 * 通过事件交换信号,实现进程间的 快速可靠 signaling。 iceoryx2 基于面向服务的架构 (SOA),并促进 无缝的进程间通信 (IPC)。 这一切都是为了提供无缝的进程间通信体验, 提供通用的消息传递模式。无论您是使用 发布-订阅、事件、请求-响应,还是期待即将推出的 如 pipeline 和黑板等特性,iceoryx2 都能满足您的需求。 iceoryx2 的特性之一是其持续稳定的低传输延迟, 无论 payload 大小如何,都能确保可预测且可靠的通信 体验。 iceoryx2 的起源可以追溯到 [iceoryx](https://github.com/eclipse-iceoryx/iceoryx)。通过克服过去的 技术债务并完善架构,iceoryx2 实现了 我们一直期望的模块化。 在不久的将来,iceoryx2 有望支持至少与 [iceoryx](https://github.com/eclipse-iceoryx/iceoryx) 相同的功能集 和平台,确保平滑过渡,并为您的进程间 通信需求提供增强的功能。因此,如果您正在寻找不 牺牲性能或模块化的快如闪电、跨平台的 通信,那么 iceoryx2 就是 您的答案。 ## 性能 ### 机制对比 ![不同机制的基准测试](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/d19d60260f002852.svg) #### 基准测试系统 * **CPU:** Intel i7 13700h * **OS:** Linux 6.10.10-arch1-1 #1 SMP PREEMPT_DYNAMIC * **编译器:** * rustc 1.81.0 * gcc 14.2.1 20240910 ### 架构对比 ![不同系统上的基准测试](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/f208da0d2b002858.svg) ## 文档 ### 用户文档 * [iceoryx2 书籍](https://ekxide.github.io/iceoryx2-book) (作者 [ekxide](https://ekxide.io)) * [示例](examples) * [发布说明](doc/release-notes) * [用户常见问题解答](FAQ.md) ### API 参考 * [Rust API 参考](https://docs.rs/iceoryx2/latest/iceoryx2/) * [Python API 参考](https://eclipse-iceoryx.github.io/iceoryx2/python/latest/) * [C++ API 参考](https://eclipse-iceoryx.github.io/iceoryx2/cxx/latest/) * [C API 参考](https://eclipse-iceoryx.github.io/iceoryx2/c/latest/) ## 支持的平台 支持级别可以根据需要进行调整。 | 操作系统 | 状态 | 当前支持级别 | 目标支持级别 | | ---------------- | :----------------------- | :-------------------: | -------------------: | | Android | 概念验证[^1] | - | tier 1 | | Bare Metal | 概念验证[^2] | - | tier 1 | | FreeBSD | 完成 | tier 2 | tier 1 | | FreeRTOS | 计划中 | - | tier 2 | | ThreadX | 计划中 | - | tier 2 | | iOS | 计划中 | - | tier 2 | | Linux (x86_64) | 完成 | tier 2 | tier 1 | | Linux (aarch64) | 完成 | tier 2 | tier 1 | | Linux (32-bit) | 完成 | tier 2 | tier 1 | | Mac OS | 完成 | tier 2 | tier 2 | | QNX 7.1 | 完成 | tier 3 | tier 1 | | QNX 8.0 | 完成 | tier 3 | tier 1 | | RTEMS | 计划中 | - | tier 2 | | Redox OS | 计划中 | - | tier 2 | | VxWorks | 概念验证[^3] | - | tier 1 | | WatchOS | 计划中 | - | tier 2 | | Windows | 完成 | tier 2 | tier 2 | [^1]: 提供了针对 Android 平台支持的概念验证。目前 仅支持本地、线程间通信。 [^2]: 提供了带有 `no_std` bare-metal 支持的概念验证。事件 消息传递模式尚不可用,且内存使用尚未优化。 [^3]: 可在[这个分支](https://github.com/ekxide/iceoryx2/blob/vxworks-mvp/doc/development-setup/vxworks.md) 的 [ekxide](https://ekxide.io) fork 上找到 VxWorks 平台支持的概念验证。 * **tier 1** - 所有安全与防护功能均可正常工作。 * **tier 2** - 在受限的安全和防护功能集下工作。 * **tier 3** - 未在我们的 CI 中测试过,因此可能可以编译和运行,也可能不行。 ## 语言绑定 | 语言 | 状态 | | :--------- | ----------------------------------------------------------------: | | C | 完成 | | C++ | 完成 | | C# | [完成](https://github.com/eclipse-iceoryx/iceoryx2-csharp)[^4] | | Dart | 计划中 | | Go | 计划中 | | Java | 计划中 | | Kotlin | 计划中 | | Lua | 计划中 | | Python | 完成 | | Swift | 计划中 | | Typescript | 计划中 | | Zig | 计划中 | [^4]: C# 绑定位于单独的代码库中。可能未与 `main` 分支保持 同步。 ## 商业支持
ekxide IO GmbH
info@ekxide.io
  • commercial extensions and tooling
  • custom feature development
  • training and consulting
  • integration support
  • engineering services around the iceoryx ecosystem
## 感谢所有贡献者 感谢所有为 iceoryx2 做出贡献的人。没有他们的热情与 奉献,这个项目就不会茁壮成长。提交过 代码的人员名单可以在 [github](https://github.com/eclipse-iceoryx/iceoryx2/graphs/contributors) 上找到。 然而,贡献不仅限于代码——测试软件、报告 错误以及传播 iceoryx2 同样具有巨大的价值。同样要 衷心感谢那些在幕后发挥关键作用的“隐形的”贡献者。
标签:Rust, 中间件, 可视化界面, 无锁并发, 系统底层, 网络流量审计, 进程间通信, 逆向工具, 通知系统, 零拷贝