跳到主要内容
版本:2.0.18

多Topic压测对比

压测准备 - 使用emqtt-bench压测工具

https://github.com/emqx/emqtt-bench

发布脚本

./emqtt_bench pub -t %i  -h 172.17.6.75   -p 1887 -u fluxmq -P fluxmq -s 1024 -q 0 -c 1 -I 1000  -i 2 -L 1000000

订阅脚本

./emqtt_bench sub -t %i  -h 172.17.6.75   -p 1887 -u fluxmq -P fluxmq -c 5000  -i 4 -q 0

压测指标

压测目标(CPU使用率)FluxMQBifrMQEMQXHiveMQ
multi_5K_5K_0_1_1024_1000000003%8%16%8%
multi_5W_5W_0_1_1024_10000000020%47%50%45%(波动大)
multi_5W_5W_0_2_1024_10000000035%74%80%崩溃
multi_5W_5W_1_1_1024_10000000030%66%81%崩溃
multi_5W_5W_1_2_1024_100000000崩溃崩溃崩溃崩溃
multi_3W_3W_2_1_1024_10000000031%47%80%61%

压测明细

连接数_订阅数_QOS_频率(每秒)_数据包大小_数据包总数

multi_5K_5K_0_1_1024_100000000

multi_1.png multi_2.png

multi_5W_5W_0_1_1024_100000000

multi_3.png multi_4.png

multi_5W_5W_0_2_1024_100000000

multi_5.png multi_6.png

multi_5W_5W_1_1_1024_100000000

multi_7.png multi_8.png

multi_5W_5W_1_2_1024_100000000

multi_9.png multi_10.png

multi_3W_3W_2_1_1024_100000000

multi_11.png multi_12.png