News for hackers. Stuff that matters.
Re:Mosquitto: An open-source MQTT broker by deknos on Wednesday September 29, 2021 @01:28PM (#28696996)
is mosquitto clusterable nowadays? on its own or via k8s?

for: * fault tolerance * fail over * vertical scalability?

does anyone know this? if not is there a another opensource mqtt broker which does that?

Re:Mosquitto: An open-source MQTT broker by serial_dev on Wednesday September 29, 2021 @02:45PM (#28698097)
VerneMQ [0] could be interesting for you, they claim that:

> VerneMQ is a high-performance, distributed MQTT broker. It scales horizontally and vertically on commodity hardware to support a high number of concurrent publishers and consumers while maintaining low latency and fault tolerance.

I'm not sure about their licensing at the moment [1], to me it's a bit confusing.

[0] https://vernemq.com/

[1] https://vernemq.com/blog/2019/11/26/vernemq-end-user-license...

Re:Mosquitto: An open-source MQTT broker by mlhales on Wednesday September 29, 2021 @01:42PM (#28697214)
Mosquitto is not, we use RabbitMQ which runs on Erlang/OTP and has mqtt plug-ins. Mosquitto is single threaded. It's fast for sure but doesn't scale out. They can interoperate though as Mosquitto has configurable bridging.
Re:Mosquitto: An open-source MQTT broker by oneweekwonder on Wednesday September 29, 2021 @05:10PM (#28700005)
Recently wanted to also create a cluster of mqtt brokers and found this medium tutorial stringing Docker Swarm, RabbitMQ, Consul and HAProxy together very helpful[0].

I was not happy with the static ip's for haproxy and opted to register the mqtt/tls services in consul and use the consul dns resolver with hapraxy.

[0]: https://medium.com/hepsiburadatech/implementing-highly-avail...

Re:Mosquitto: An open-source MQTT broker by nkristoffersen on Thursday September 30, 2021 @12:35PM (#28708252)
I'm running a cluster of Aedes backed by redis.

https://github.com/moscajs/aedes

I was inspired by this post by Bolt

https://medium.com/bolt-labs/developing-software-for-bolt-sc...

Re:Mosquitto: An open-source MQTT broker by ralight on Wednesday September 29, 2021 @04:22PM (#28699404)
I work for Cedalo AG developing Mosquitto. Cedalo will be offering a version of Mosquitto with failover support as a paid for feature soon.
Re:Mosquitto: An open-source MQTT broker by eska on Wednesday September 29, 2021 @02:32PM (#28697921)
There are broker implementations that support clustering. Emqx comes to mind.
Re:Mosquitto: An open-source MQTT broker by jonquark on Wednesday September 29, 2021 @03:05PM (#28698365)
There are lots of brokers and Eclipse Amlen is coming soon: https://www.eclipse.org/amlen/

(disclosure: I work on Amlen)

Re:Mosquitto: An open-source MQTT broker by discreteevent on Wednesday September 29, 2021 @05:39PM (#28700339)
Have a look at Apache Artemis. Well architected multi-protocol broker with clustering.