BrambleMQ Architecture History, Cluster Topology, and Performance Notes
Background and Design Philosophy
BrambleMQ was created to serve edge telemetry pipelines and event-driven microservices that require predictable resource footprints without running a full JVM cluster. Early prototypes explored an in-memory ring buffer with asynchronous disk snapshots, but operators quickly ran into recovery delays after abrupt container restarts. The current generation adopts a segmented commit log paired with a lightweight Raft metadata controller that boots in under 300 milliseconds.
Cluster deployment typically starts with three broker nodes spread across separate availability zones. Each node runs a single statically linked binary with zero external coordination services. Configuration is declared in a single TOML manifest specifying retention windows, TLS certificates, authentication tokens, and compression codecs such as LZ4 or Zstandard. Client SDKs exist for Go, Rust, Python, and TypeScript, all speaking a compact binary framing protocol over persistent TLS connections.
Operational Topology and Monitoring
In production environments, BrambleMQ clusters sit behind a TCP load balancer for initial bootstrap discovery, after which clients cache the partition leadership map and route directly to the owning broker. Metadata refreshes happen automatically whenever a broker returns a stale-epoch code during rolling upgrades. Administrators monitor cluster health through an embedded metrics endpoint exporting disk utilization, open file descriptors, consumer lag per subscription group, and Raft heartbeat RTT.
Storage retention can be configured by wall-clock age (for example, 7 days) or by byte quota per topic. Compaction workers run on low-priority I/O threads during off-peak windows to reclaim tombstoned keys without starving active producer connections. Multi-tenant namespaces enforce per-team rate quotas and isolated TLS client certificates so noisy workloads in one namespace cannot exhaust file handles or socket buffers needed by neighboring services.
Upgrading a BrambleMQ cluster requires draining one broker at a time using the CLI leadership transfer command. Once partition leadership shifts to healthy replicas, the target node flushes its segment indexes and exits cleanly. Rejoining nodes catch up via streaming segment replication before becoming eligible for leadership again. Most teams automate this process with standard rolling StatefulSet updates.
Throughput Limits and Ordering Verdict
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.
Under sustained 48,000 msg/s fan-out load on NVMe hardware, BrambleMQ holds p99 delivery latency around 14.2 ms while preserving strict per-shard FIFO semantics across all active consumer groups.