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

500K Connections

  • Server Host: 8xCPU, 20GB RAM
  • Clients Host: 8xCPU, 32GB RAM
  • MQTT Protocol: 3.1
  • MQTT QOS: 1
  • Port: 1884
  • Host: 8 CPU / 20Gb - the smaller pair, see the divider below
  • Max CPU: 17%
  • Max RAM: 2183 Mb
  • CPU percentages are of ONE core: 1600% = all 16 vCPU. xmq_server pins one thread
  • Version: 1.27.1
  • Date: 2026-09-17
  • CPU Load: 17% mean / 94% peak

NanoMQ timed out during the test. Only 395K clients completed connections.

ServerVersionCPU LoadMax RAMAvg ConnectionsAvg Latency
Mosquitto 2.0.22-5build12.0.22-5build112% mean / 41% peak428 Mb500,000348us
EMQX 5.8.95.8.9230% mean / 702% peak6792 Mb500,000717us
XMQ 0.9.180.9.1825% mean / 100% peak1378 Mb500,000293us
FlashMQ 1.27.11.27.117% mean / 91% peak2183 Mb500,000293us
Mosquitto 2.0.22-5build1
EMQX 5.8.9
XMQ 0.9.18
FlashMQ 1.27.1
0us163us326us489us652us815us0s36s72s108s144s180s

1M Connections

  • Scenario: 1M connections - 1M-Connections-5K-rate.json
  • Date: 2026-09-17
  • Client: xmq_scn 0.9.16
  • CPU percentages are of ONE core: 1600% = all 16 vCPU. xmq_server pins one thread per
  • there: the client binds 30 source addresses of 55536 ports each, which caps it at
  • CPU is not close to being the limit: the broker held a million at a 47% mean.
  • Version: 1.27.1
  • CPU Load: 32% mean / 95% peak
  • Max RAM: 4343 Mb
  • The same broker with one change: the session maps are sized once, from RLIMIT_NOFILE,
  • What that interval was: `ClientSessionManager` holds its sessions in two hash maps behind
ServerVersionCPU LoadMax RAMAvg ConnectionsAvg Latency
XMQ 0.9.180.9.1847% mean / 121% peak2521 Mb1,000,000322us
FlashMQ 1.27.11.27.132% mean / 90% peak4343 Mb1,000,000354us
XMQ 0.9.18
FlashMQ 1.27.1
0us128us256us384us512us640us0s36s72s108s144s180s