Crates.io | aeron-rs |
lib.rs | aeron-rs |
version | 0.1.3 |
source | src |
created_at | 2020-04-14 12:51:23.444367 |
updated_at | 2020-11-20 10:13:55.667127 |
description | Aeron client library - fast messaging over UDP on Rust |
homepage | |
repository | https://github.com/UnitedTraders/aeron-rs |
max_upload_size | |
id | 230001 |
size | 917,078 |
Aeron is efficient reliable UDP and IPC message transport. Originally it was developed by RealLogic and hosted on GitHub real-logic/aeron
Aeron has two main components:
The client library is linked with applications and allows several applications to talk with each other through Media driver(s). For more information about how Aeron works please read documentation.
aeron-rs library implements client functionality to work with Aeron Media driver. To get functioning system one need to download (and compile) Media driver from real-logic/aeron and write some Aeron enabled application using aeron-rs. Examples of such applications could be found inside the bin and in the library integration tests.
Aeron could be a good choice if you need to organize fast and ordered message streams. There are number of widely used messaging frameworks and to choose the right one for your particular case it is better to test them if close to real-life situations and compare the performance. Just some hints why Aeron could be a good choice:
Integration tests for aeron-rs assume that Media driver executable (aeronmd) is present in the PATH. So prior to run these tests install aeronmd accordingly. Also integration tests designed to run sequentially one by one. Therefore use
cargo test -- --test-threads=1
command to run them.
If you use POSIX-compliant OS (or at least has /bin/sh
), you can use
predefined git pre-push hook to ensure coding standards are met.
ln -s ../../.pre-push.sh .git/hooks/pre-push
Also, if you use IDE from IntelliJ IDEA family with Rust plugin, you can enable autoformatting:
Settings -> Languages and Frameworks -> Rust -> Rustfmt -> Run rustfmt on Save