MCPcopy Index your code
hub / github.com/alttch/psrt

github.com/alttch/psrt @v0.3.7

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.3.7 ↗ · + Follow
1,161 symbols 3,012 edges 15 files 27 documented · 2%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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.

Extension points exported contracts — how you extend this code

StreamHandler (Interface)
(no doc) [1 implementers]
src/comm.rs

Core symbols most depended-on inside this repo

reduce_timeout
called by 34
src/lib.rs
as_ref
called by 19
src/token.rs
create
called by 17
src/token.rs
read_with_timeout
called by 16
src/comm.rs
is_empty
called by 15
src/acl.rs
load
called by 14
src/server.rs
as_bytes
called by 13
src/token.rs
format_path
called by 10
src/server.rs

Shape

Method 658
Function 384
Class 112
Enum 6
Interface 1

Languages

TypeScript80%
Rust20%

Modules by API surface

src/chart.min.js925 symbols
src/server.rs55 symbols
src/client.rs42 symbols
src/acl.rs39 symbols
src/pubsub.rs32 symbols
src/lib.rs19 symbols
src/cli.rs13 symbols
src/comm.rs10 symbols
src/keys.rs9 symbols
src/token.rs7 symbols
src/passwords.rs4 symbols
src/eva_svc.rs3 symbols

For agents

$ claude mcp add psrt \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact