Skip to content

Latest commit

 

History

History
54 lines (40 loc) · 1.51 KB

singlenode-conn-tcp-1M-5K.md

File metadata and controls

54 lines (40 loc) · 1.51 KB

Benchmark results of singlenode-conn-tcp-1M-5K

Brokers

Opensource Broker Version
EMQX 5.0.21
Mosquitto 2.0.15
NanoMQ 0.17.0

Benchmark use case: singlenode-conn-tcp-1M-5K

In this testcase, 1,000,000 clients connect to the broker within 200 seconds (e.g. cps 5K) and all clients are kept online for 30 minutes.

MQTT protocol 3.1.1 is used for the use case, and other configured MQTT properties are:

TLS authentication enablement No
Authentication enablement No
Keep Alive (seconds) 300
Clean Session 1

Testbed

The use case is executed on single node. XMeter (version 3.2.4) is used as the benchmark tool.

HW Details

  • public cloud: AWS
  • instance type: c5.4xlarge 16C32G
  • OS: Ubuntu 22.04.1 amd64

Metrics

Average latency (ms) Max CPU user+system Avg CPU user+system Max memory used Avg memory used
Mosquitto 5.61 2% 2% 1G 1G
NanoMQ 2.99 5% 4% 10.6G 10.6G

Appendix: result charts