#low-latency #pubsub #server #server-client #client #subscription

bin+lib psrt

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

38 releases

new 0.2.9 Feb 8, 2025
0.2.7 Jan 23, 2025
0.2.5 Oct 16, 2024
0.2.4 Apr 6, 2024
0.1.16 Nov 12, 2021

#1517 in Network programming

Download history 180/week @ 2024-10-16 3/week @ 2024-10-23 2/week @ 2024-11-13 4/week @ 2024-11-20 34/week @ 2024-12-04 46/week @ 2024-12-11 115/week @ 2025-01-22 6/week @ 2025-01-29

121 downloads per month

Apache-2.0

350KB
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

~8–23MB
~372K SLoC