Smart-MQTT: A High‑Performance Java MQTT Broker for AI‑Driven IoT
Smart-MQTT, a Java‑based MQTT broker from the Smartboot project, offers low latency and high throughput for massive IoT device connections, provides open and portable architecture, details recent v0.42 updates, and presents benchmark results that compare QoS performance across multiple versions.
Smart-MQTT Overview
smart-mqtt is the first IoT‑focused solution under the Smartboot organization, written in Java and delivering an efficient, reliable MQTT broker service. It maintains low latency and high throughput even when thousands of devices connect, and its resource‑optimised design reduces CPU and memory usage to lower operational costs.
The broker also fits well for enterprise‑grade instant‑messaging (IM) scenarios because the MQTT protocol naturally supports such use cases.
Key Product Features
Openness : Built on an event‑bus architecture, non‑MQTT south‑bound protocols can be adapted into smart‑mqtt, and MQTT messages can be bridged to any north‑bound service.
Affinity : Implemented in Java, it matches the dominant development language of most current teams.
Portability : Fully compliant with the MQTT specification, users can switch to other brokers without vendor lock‑in.
Pure Domestic Lineage : Meets the requirements of Chinese “信创” (trusted‑innovation) environments.
One‑Click Startup
docker run --name smart-mqtt \
-p 18083:18083 \
-p 1883:1883 \
-d smartboot/smart-mqtt:latest18083 – Web management console port
1883 – MQTT protocol port
Version v0.42 Updates
Refined message‑queue class structure to reduce memory overhead.
Re‑engineered interfaces for message pushing.
Added extensive code comments.
Upgraded core features to v0.8.3.
Upgraded smart‑socket component to v1.5.58.
Performance Test Report
Scenario 1 : 10 publishers send 128‑byte payloads every 1 ms across 128 topics; 2000 subscribers listen on those topics.
QoS | v0.35 | v0.36 | v0.37 | v0.40
------|-------|-------|-------|------
QoS0 | 670W/s| 738W/s| 790W/s| 860W/s
QoS1 | 320W/s| 310W/s| 320W/s| 460W/s
QoS2 | 180W/s| 185W/s| 190W/s| 270W/sScenario 2 : 2000 publishers each send 10 messages (128 bytes) every 1 ms across 128 topics.
QoS | smart‑mqtt
------|------------
QoS0 | 200W/s
QoS1 | 90W/s
QoS2 | 55W/sHow to Obtain smart‑mqtt
Main repository: https://gitee.com/smartboot/smart-mqtt
Docker image mirror: https://github.com/smartboot/smart-mqtt
Community groups and QR‑code images are provided for further interaction.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Three Knives
Every line of code you contribute to open source could help make the future better.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
