Hi Mosquitto team,
I am currently using Mosquitto 2.0.2 version for my use case . basically currently we are exploring to migrate from hivemq to mosquitto opensource for some of our requirements as below
we need to run our broker on 443 ( https port) which is not feasible for the hivemq on standard plan and currently we dont need the enterpise plan due to limited users.
we need to monitor each device logs and broker events for each day for better debugging which is limited for other brokers.
we need a option to provide the unique device certificates with a hot blacklisting for better security.
performing other admin operations and monitoring of the devices using a personalized UI.
we have implemented all these features with the open source mosquitto integrated with C plugins. and it is working fine but the main question is what we can do in future to keep it scalable. we are looking for a solution to make the mosquitto more scalable in future or easy way migration in case of mass devices. so is there already a open source poc or solution created around it that we can use with mosquitto or any guidence we can get for the same.
Great to hear you got all this working.
For scaling in the OS Mosquitto space, there is, as far as I know, no real OS project that works on real scalability. The most I have seen is a parallel broker, but they are not sharing any data with each other, so it is basically hosting multiple brokers instead of one. This only works for some use cases and unidirectional traffic.
Cedalo, as a company, is working on extended features around the OS Mosquitto for enterprise features. And it does offer a high-performance cluster. Which basically is an active-active cluster coupling multiple nodes. If you are interested in such a thing, you can use the contact form on the website.
If your devices can be sharded by tenant, site, or topic prefix, you can run several Mosquitto instances and use bridges only for topics that must cross shards. That avoids needing a true shared-state cluster, but keep client IDs unique per shard, decide where retained messages and persistent sessions live, and handle failover at the DNS/load-balancer layer. It is not active-active for every topic, but it is a workable OS-only scale-out pattern when cross-shard traffic is limited.