Pre-release · Foundations complete
The most efficient & feature-rich MQTT broker.
OrbitMQ is a source-available MQTT 3.1, 3.1.1 and 5.0 broker written in Rust. It uses a thread-per-core data plane, ships an admin dashboard in the binary, and is free in production under its license grant.
- Protocols
- 3.1 · 3.1.1 · 5.0
- Language
- Rust, no GC
- License
- BSL 1.1
Four decisions, made on day one.
Architecture overview- 01
Conformance Is a Test, Not a Claim
Every normative statement in MQTT 3.1, 3.1.1 and 5.0 is tracked by ID and mapped to an automated test. CI refuses to merge while a server requirement is uncovered.
- 02
One Core, One Owner
Each core owns its connections, sessions, subscription shard and write-ahead log. Cores talk over bounded rings, so the publish path never waits on a lock.
- 03
Integrations Built In
Ordered authentication and authorization chains (X.509, JWT, HTTP, SQL, Redis, MongoDB) and a SQL rule engine with webhook, MQTT bridge and Kafka actions, editable at runtime.
- 04
The Dashboard Ships Inside
Clients, sessions, topics, retained messages and broker health, served by the broker binary itself. Nothing extra to deploy or keep in sync.
Conformance
493 requirements. Each one gets a test.
Extracted from the specifications, paraphrased, reviewed line by line and tracked by ID. The public compliance matrix is generated from the same files that gate every merge.
How conformance is tracked- 251
MQTT 5.0
OASIS Appendix B statements
- 141
MQTT 3.1.1
OASIS Appendix B statements, Errata 01
- 101
MQTT 3.1
requirements derived from the IBM spec
Architecture
Shared nothing, by design.
One event loop per core. Connections, sessions, subscription shards and the write-ahead log never leave the core that owns them, so adding cores adds throughput instead of contention.
Performance targets
Numbers we will be held to.
Design targets per node, not measured results. Benchmarks will be published with raw data, hardware details and competitor configurations.
- Idle connections per node
- 10M+
- Userspace memory per idle connection
- ≤ 2 KB
- p99 publish → deliver at 50% load
- < 2 ms
- Fan-out of 1 message to 1M subscribers
- 1 s