Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

BUS/RT - Modern, fast, Rust-native IPC broker

License

NotificationsYou must be signed in to change notification settings

alttch/busrt

Repository files navigation

What is BUS/RT

BUS/RT® is a Rust-native IPC broker, written in Rust/Tokio, inspired byNATS,ZeroMQ andNanomsg. BUS/RT is fast, flexible and very easy to use,optimized for both high-load and ultra-low latency real-time scenarios.

The library can be embedded in any Rust project or be used as a standaloneserver.

BUS/RT is the core bus ofEVA ICS v4.

Inter-process communication

The following communication patterns are supported out-of-the-box:

  • one-to-one messages
  • one-to-many messages
  • pub/sub

The following channels are supported:

  • async channels between threads/futures (Rust only)
  • UNIX sockets (local machine, Linux/BSD)
  • TCP sockets (Linux/BSD/Windows)

In addition to Rust, BUS/RT has also bindings for the following languages:

Rust crate:https://crates.io/crates/busrt

Real-time safety

Usert feature to use for internal mutexesparking_lot_rt - aparking_lotfork without spin-locks, which is real-time safe.

Technical documentation

The full documentation is available at:https://info.bma.ai/en/actual/busrt/

Some numbers

Benchmarks

CPU: i7-7700HQ

Broker: 4 workers, clients: 8, payload size: 100 bytes, local IPC (single unixsocket), totals:

stageiters/s
rpc.call126_824
rpc.call+handle64_694
rpc.call0178_505
send+recv.qos.no1_667_131
send+recv.qos.processed147_812
send.qos.no2_748_870
send.qos.processed183_795

About the authors

Bohemia Automation /Altertech is a group of companies with 15+ yearsof experience in the enterprise automation and industrial IoT. Our setupsinclude power plants, factories and urban infrastructure. Largest of them have1M+ sensors and controlled devices and the bar raises higher and higher everyday.


[8]ページ先頭

©2009-2025 Movatter.jp