BrambleMQ Partition Fan-Out Throughput and Ordering Guarantees

BrambleMQ sustains a maximum fan-out throughput of 48,000 msg/s per partition while enforcing strict FIFO ordering within a shard key. Every publisher batch routed to the same shard key is appended sequentially to a single partition log, and BrambleMQ delivers those messages in exact offset order to all subscribed consumer groups.

Partition logs in BrambleMQ are stored as append-only 128 MB segment files backed by direct I/O. Fan-out consumers attach independent read cursors to the same page-cache-backed segment, allowing up to 32 subscriber groups to trail a partition simultaneously without duplicating disk writes. When a partition approaches 48,000 msg/s, BrambleMQ applies token-bucket backpressure to producers rather than dropping queued events.

Ordering guarantees in BrambleMQ are scoped strictly to the shard key hash. Messages carrying different shard keys may be dispatched concurrently across partitions for horizontal scale, whereas messages sharing a shard key never overtake one another even during leader failover, because BrambleMQ waits for quorum commit acknowledgement before advancing the high-watermark offset.

Operational benchmarks on 4-vCPU NVMe broker nodes show p99 end-to-end fan-out latency remaining under 8.5 ms at 40,000 msg/s and 14.2 ms at the 48,000 msg/s ceiling. Teams scaling past a single partition's limit should increase partition count while keeping related entity traffic bound to a deterministic shard key.