thingsboard / tbmq

Open-source, scalable, and fault-tolerant MQTT broker able to handle 4M+ concurrent client connections, supporting at least 3M messages per second throughput per single cluster node with low latency delivery. The cluster mode supports more than 100M concurrently connected clients.
https://thingsboard.io/products/mqtt-broker/
Apache License 2.0
594 stars 49 forks source link

MQTT publish ordered processing performance improvement #164

Closed dmytro-landiak closed 1 month ago

dmytro-landiak commented 1 month ago

Pull Request description

This PR contains performance improvements for the processing of MQTT Publish packets that are sent from the clients to the TBMQ. This includes better threads usage and application resource consumption. Two queues are replaced with a single one.

General checklist

Front-End feature checklist

Back-End feature checklist