๐ About
Arnelifyยฎ Broker for Rust โ a multi-language broker with RPC and UMQT support.
All supported protocols:
| # | Protocol | Transport |
|---|---|---|
| 1 | TCP2 | UMQT |
| 2 | UDP | UMQT |
๐ Minimal Requirements
Important: It's strongly recommended to use in a container that has been built from the gcc v15.2.0 image.
- CPU: Apple M1 / Intel Core i7 / AMD Ryzen 7
- OS: Debian 11 / MacOS 15 / Windows 10 with WSL2.
- RAM: 4 GB
๐ฆ Installation
Run in terminal:
๐ RPC
RPC - operates on top of the transport layer, enabling remote function and procedure calls.
๐ Examples
use RPC;
use RPCLogger;
use RPCAction;
use BrokerBytes;
use BrokerCtx;
use RPCStream;
use ;
type JSON = Value;
๐ UMQT
UMQT (UDP Message Query Transport) - is a universal WEB3-transport designed for flexible transport-layer communication, supporting two messaging mechanisms: TCP2 and datagrams.
๐ Configuration
| Option | Description |
|---|---|
| BLOCK_SIZE_KB | The size of the allocated memory used for processing large packets. |
| CERT_PEM | Path to the TLS cert-file in PEM format. |
| COMPRESSION | If this option is enabled, the transport will use BROTLI compression if the client application supports it. This setting increases CPU resource consumption. The transport will not use compression if the data size exceeds the value of BLOCK_SIZE_KB. |
| KEY_PEM | Path to the TLS private key-file in PEM format. |
| PORT | Defines which port the transport will listen on. |
| THREAD_LIMIT | Defines the maximum number of threads that will handle requests. |
๐ Examples
use UMQT;
use UMQTBytes;
use UMQTConsumer;
use UMQTLogger;
use UMQTOpts;
use ;
โ๏ธ MIT License
This software is licensed under the MIT License. The original author's name, logo, and the original name of the software must be included in all copies or substantial portions of the software.
๐ ๏ธ Contributing
Join us to help improve this software, fix bugs or implement new functionality. Active participation will help keep the software up-to-date, reliable, and aligned with the needs of its users.
Run in terminal:
For RPC:
For UMQT:
โญ Release Notes
Version 0.9.6 โ a multi-language broker with RPC and UMQT support.
We are excited to introduce the Arnelify Broker for Rust! Please note that this version is raw and still in active development.
Change log:
- UMQT support.
- Async Runtime & Multi-Threading.
- Block processing in "on-the-fly" mode.
- BROTLI compression (still in development).
- FFI, PYO3 and NEON support.
- Significant refactoring and optimizations.
Please use this version with caution, as it may contain bugs and unfinished features. We are actively working on improving and expanding the broker's capabilities, and we welcome your feedback and suggestions.
๐ Links
- Arnelify POD for C++
- Arnelify POD for NodeJS
- Arnelify POD for Python
- Arnelify POD for Rust
- Arnelify React Native