Credits:The XMQ web site is provided by Linotex.The XMQ and SPTK Windows installers are created with Advanced Installer free Open-Source license.
There were 0 unique visitors to this page

MQTT Performance Tests: Concurrent Connections

Connections

Connection tests measure how many client connections a broker can accept and how connect latency behaves as the number of concurrently connected clients grows. Each scenario connects clients in batches and records, per interval, how many connections completed and their average latency.

XMQ 1.0.2 and FlashMQ 1.27.2 were re-measured on 2 November 2026 on the same c5n.4xlarge host (16 vCPU, 40 GB) as the other brokers here. Percentiles are shown where the run recorded them; a dash means its result file has no percentile section.

500K Connections

  • Scenario: 500K Connections - 500K-Connections-5000-rate.json for the 2026-11-02 runs, -10000-rate.json before them
  • Date: 2026-10-16
  • Client: AWS c5n.4xlarge, 29 bound source addresses, xmq_scn 0.9.20, no CPU affinity

QoS 1, 16B payload, MQTT 5; connect rate 10000/s before 2026-11-02 and 5000/s for the runs added then.

Broker ▲VersionCPU LoadMax RAMAvg RAMMedian RAMAvg ConnectionsAvg LatencyMedianp99p99.9
EMQX6.3.1909% mean / 1154% peak12.88 Gb10.1 Gb10.7 Gb500,00013.2ms13.2ms——
FlashMQFlashMQ-1.27.234% mean / 91% peak2.19 Gb1.42 Gb1.46 Gb500,000360us342us——
Mosquitto2.1.229% mean / 39% peak2.41 Gb1.85 Gb1.93 Gb500,0001.6ms425us——
XMQXMQ-1.1.150% mean / 95% peak1.46 Gb981 Mb1015 Mb500,000323us322us——
EMQX
FlashMQ
Mosquitto
XMQ

Connection latency, depending on the number of connections

Latency0us2.7ms5.4ms8.1ms10.7ms13.4ms0K100K200K300K400K500K

Broker memory (RSS), depending on the number of connections

Broker memory (RSS) per intervalMemory (RSS)0 Mb5 Gb10 Gb15 Gb20 Gb0K100K200K300K400K500Kconnections