介紹一款高效能分散式MQTT Broker(帶web)
阿新 • • 發佈:2022-12-06
SMQTTX介紹
SMQTTX是基於SMQTT的一次重大技術升級,基於Java開發的分散式MQTT叢集,是一款高效能,高吞吐量,並且可以完成二次開發的優秀的開源MQTT broker,主要採用技術棧:reactor3、reacotr-netty、netty、ignite等開源軟體,基於SMQTTX可以輕鬆完成百萬級別裝置接入。
叢集配置
機器節點 | 配置 |
---|---|
192.168.0.92 | 8c/16g |
192.168.0.187 | 8c/16g |
壓測場景
❝本次壓測使用Emq-bench進行
❞
連線壓測
[root@ecs-143990-0003 bin]# ./emqtt_bench conn -h 192.168.0.187 -p 1883 -u smqtt -P smqtt -c 50000 -i 2
connected: 50000
[root@ecs-143990-0002 bin]# ./emqtt_bench conn -h 192.168.0.187 -p 1883 -u smqtt -P smqtt -c 50000 -i 2
connected: 50000
推送壓測
訂閱 100000 pub
[root@ecs-143990-0003 bin]# ./emqtt_bench sub -t test -h 192.168.0.187 -p 1883 -u smqtt -P smqtt -c 50000
connected: 50000
9m12s sub total=50000 rate=31/sec
[root@ecs-143990-0002 bin]# ./emqtt_bench sub -t test -h 192.168.0.187 -p 1883 -u smqtt -P smqtt -c 50000
connected: 50000
9m12s sub total=50000 rate=31/sec
5000 pub
1h59m12s recv total=4907417 rate=59514/sec
1h59m13s recv total=4964547 rate=57130/sec
1h59m14s recv total=4971856 rate=7309/sec
1h59m32s recv total=5005099 rate=33243/sec
1h59m33s recv total=5060676 rate=55577/sec
1h59m34s recv total=5117880 rate=57204/sec
1h59m35s recv total=5173121 rate=55241/sec
1h59m36s recv total=5229499 rate=56378/sec
1h59m37s recv total=5285674 rate=56175/sec
1h59m38s recv total=5344244 rate=58570/sec
1h59m39s recv total=5397227 rate=52983/sec
1h59m40s recv total=5452597 rate=55370/sec
1h59m41s recv total=5510186 rate=57589/sec
1h59m42s recv total=5565421 rate=55235/sec
1h59m43s recv total=5622088 rate=56667/sec
1h59m44s recv total=5679827 rate=57739/sec
1h59m45s recv total=5737467 rate=57640/sec
1h59m46s recv total=5794272 rate=56805/sec
1h59m47s recv total=5848318 rate=54046/sec
1h59m48s recv total=5906008 rate=57690/sec
由上實際寫入Qps 50kp/s
SMQTTX商業版問世
❝如果您的系統需要支援千萬級裝置接入,百萬QPS資料上行,那我們的SMQTTX商業版是非常適合您的一款應用。 訪問地址:Dashboard 使用者名稱/密碼:smqtt/smqtt
❞
功能對比
特色功能
分散式叢集連線管理 分散式規則引擎管理 分散式動態認證管理 細粒度指標監控、提供grafana監控畫板 標準的接入日誌輸出、日誌查詢 告警功能。提供釘釘、飛書等機器人告警
聯絡方式
微信: 17512575402
請備註諮詢商業版MQTT