本次发布版本主要是针对 smart-mqtt 性能作了很大的提升。 另外受制于性那压测工具 emqx-bench 无法支持 arm 架构的服务器,我们自研了能够实现跨平台的 Java 版压测工具:smart-mqtt-bench。
1. About smart-mqtt
smart-mqtt is an MQTT Broker service developed in java language, and it is also the first truly IoT-oriented solution under the smartboot organization. It aims to help enterprises quickly build stable and reliable IoT services at a lower cost, and facilitate the interconnection of all things.
2. Quick start
2.1 Jar package startup
Download address: https://gitee.com/smartboot/smart-mqtt/releases/tag/v0.10
java -jar smart-mqtt-broker-community-0.10.jar
2.2 docker start
docker run -d --name smart-mqtt -p 1883:1883 smartboot/smart-mqtt:latest
3. Update content 🎉
3.1 Community Edition
- Use the self-developed stress testing tool smart-mqtt-bench to replace emqx-bench to obtain a better and more powerful stress testing experience.
- fastjson is upgraded to fastjson2:2.0.20.graal.
- Restructure the message push model to obtain higher communication performance through optimized design.
- The event type of the new event bus: MESSAGE_BUS_CONSUMED
- MemoryMessageStoreQueue stores only messages of type MqttPublishMessage.
- The buffer configuration parameter is adjusted from readBufferSize to bufferSize, and read/write share this parameter.
- Added a limit on the number of Topics for the Broker service, and the default value is: 1024.
- The largest packet supported by MQTT Broker adopts parameterized configuration: maxPacketSize.
- maxKeepAliveTime is adjusted from 1 minute to 10 minutes.
- Remove BrokerContext#batchPublish interface.
- Remove the MonitorPlugin plugin.
- Multiple MQTTClients support a shared memory pool.
- The MQTT Client buffer is configured with parameters.
- Support temporary expansion of buffer capacity, no more than maxPacketSize.
- Upgrade flight window flow control algorithm.
- Message output supports active and passive modes.
3.2 Enterprise Edition
- Adjust the authorization prompt information.
- Improve packaging tools.
- Adapt to the latest version of smart-mqtt.
4. Documentation 📘
For more content, visit the official website: https://smartboot.tech/smart-mqtt/
5. About Enterprise Edition
For the sustainable development of the project, we have enriched some enterprise-level functions on the basis of the smart-mqtt community edition.If your company recognizes the commercial value of smart-mqtt, you can becomesponsorObtain an enterprise license.
Function | community edition | Enterprise Edition |
---|---|---|
MQTT/TCP | ✅ | ✅ |
MQTT/Websockets | ❌ | ✅ |
Broker cluster | ❌ | ✅ |
sponsorship level
bronze sponsor | silver sponsor | gold sponsor | platinum sponsor | |
---|---|---|---|---|
Conditions of sponsorship | Join the Enterprise Support Program | 500 yuan / year | 1500 yuan/year | 5000 yuan/year |
License validity period | 1 year | 1 year | 1 year | 1 year |
Deployment guide | ❌ | 1 time | 1 time | Unlimited |
赞助商 Logo Display | ❌ | small | Medium | large |
Home Logo Display | ❌ | ❌ | ❌ | ✅ |
Technical Support | document | Mail/Issues | WeChat/QQ/Email | WeChat/QQ/Email |
#smartmqtt #v010 #released #reliable #IoT #solution #News Fast Delivery