#pubsub #server #client

bin+lib psrt

Industrial Pub-Sub server with minimal latency and MQTT-compatible logic

31 releases

new 0.2.1 Dec 7, 2023
0.2.0 Dec 7, 2023
0.1.30 Oct 6, 2022
0.1.24 Sep 28, 2022
0.1.2 Oct 31, 2021

#1737 in Network programming

Download history 29/week @ 2023-08-26 4/week @ 2023-09-02 64/week @ 2023-09-09 7/week @ 2023-09-16 4/week @ 2023-09-23 4/week @ 2023-09-30 1/week @ 2023-10-07 1/week @ 2023-10-14 1/week @ 2023-10-21 50/week @ 2023-10-28 33/week @ 2023-11-04 4/week @ 2023-11-11 3/week @ 2023-11-18 89/week @ 2023-11-25 114/week @ 2023-12-02

210 downloads per month

Apache-2.0

345KB
4K SLoC

PSRT - industrial Pub/Sub for WAN

What is PSRT

PSRT is a pub/sub real-time telemetry protocol, optimized for industrial needs: providing low latency, dealing with slow channels and large payloads.

PSRT can process 100K+ messages on a single node with very low latencies (<1ms). Speeds are reasonable (1K+ ops/sec) even with enormous (1MB+) payloads.

Topic subscriptions in PSRT are processed with B-tree algorithms, which allows the server to handle hundred thousands subscriptions without any speed loss.

Technical documentation

https://info.bma.ai/en/actual/psrt/

About the authors

Bohemia Automation / Altertech is a group of companies with 15+ years of experience in the enterprise automation and industrial IoT. Our setups include power plants, factories and urban infrastructure. Largest of them have 1M+ sensors and controlled devices and the bar raises higher and higher every day.

Dependencies

~16–33MB
~508K SLoC