跳到主要内容
版本:2.0.19

通配符压测对比

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

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

发布脚本

./emqtt_bench pub -t %i/test  -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 50000  -i 2 -q 0

压测指标

压测目标(CPU使用率)FluxMQBifrMQEMQXHiveMQ
wildcard_5w_5w_0_1_1024_10000000033%42%59%45%
wildcard_5w_5w_0_2_1024_10000000052%73%84%崩溃
wildcard_5w_5w_1_1_1024_10000000045%53%66%崩溃

压测明细

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

wildcard_5w_5w_0_1_1024_100000000

wildcard_1.png wildcard_2.png

wildcard_5w_5w_0_2_1024_100000000

wildcard_3.png wildcard_4.png

wildcard_5w_5w_1_1_1024_100000000

wildcard_5.png wildcard_6.png