Skip to content

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
  1. 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.

  2. 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.

  3. 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.

  4. 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
  • MQTT 5.0

    OASIS Appendix B statements

    251
  • MQTT 3.1.1

    OASIS Appendix B statements, Errata 01

    141
  • MQTT 3.1

    requirements derived from the IBM spec

    101

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.

core 0listenersessionstrie shardwal
core 1listenersessionstrie shardwal
core 2listenersessionstrie shardwal
core 3listenersessionstrie shardwal
core 4listenersessionstrie shardwal
core 5listenersessionstrie shardwal
core 6listenersessionstrie shardwal
core 7listenersessionstrie shardwal
bounded SPSC rings between coresno locks · no atomics on the publish path

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
All targets and methodology