Mosquitto broker- Horizontally scaling

0 votes
Hi,

I'm not too sure if this question is quite generic but what I want to know is, if there's any way to achieve Scaling capabilities, Load Balancing etc. for Mosquitto.

Actually, I am considering mosquitto for a MQTT broker. From what I've come to know, Mosquitto doesn't support Horizontal Scaling.
Sep 5, 2018 in IoT (Internet of Things) by Annie97
• 2,190 points
439 views

1 answer to this question.

0 votes
For accuracy, let me mention that other options do exist for high scalability. Several brokers support clustering. Open source ones like verne.mq or rabbitmq.com, also, tackle the challenge of scalability differently. Typically, the subscription and session state is available on all cluster nodes enabling that an MQTT cluster appears to a device as one big server.

With that said, what Mosquitto horizontally scales with, is bridge capability where one Broker copies all messages to another Broker.

You can see a basic configuration example here: http://e.verything.co/post/62163759361/bridging-two-mqtt-brokers

You also should take a look at the MQTT Malaria to test the scalability of your setup https://github.com/remakeelectric/mqtt-malaria
answered Sep 5, 2018 by Upasana
• 8,530 points

Related Questions In IoT (Internet of Things)

0 votes
1 answer

Mosquitto 1.4.2 Websocket support

down vote In the dir mosquitto-1.4.X edit the ...READ MORE

answered Jul 9, 2018 in IoT (Internet of Things) by anonymous2
• 4,260 points
119 views
0 votes
1 answer

What is the maximum message length for a MQTT broker?

It's not entirely clear what you're asking ...READ MORE

answered Jul 17, 2018 in IoT (Internet of Things) by anonymous2
• 4,260 points
1,008 views
0 votes
0 answers

Mosquitto Secure MQTT connection

My Question is regarding TLS/SSL MQTT connection. ...READ MORE

Jul 23, 2018 in IoT (Internet of Things) by Matt
• 2,260 points
69 views
0 votes
1 answer

MQTT broker for Google App Engine

You had a hard time finding anything ...READ MORE

answered Aug 1, 2018 in IoT (Internet of Things) by nirvana
• 3,060 points
219 views
0 votes
1 answer

Eclipse Paho: read data from MQTT Broker

From what I could analyze, you've been ...READ MORE

answered Aug 8, 2018 in IoT (Internet of Things) by DataKing99
• 8,130 points
650 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Downloading source code of Android Things

No because AndroidThings is still in preview ...READ MORE

answered Jul 5, 2018 in IoT (Internet of Things) by anonymous2
• 4,260 points
487 views
0 votes
1 answer

Creating Android Things' bundle and pushing it over OTA

Here are all the steps necessary to ...READ MORE

answered Jul 6, 2018 in IoT (Internet of Things) by anonymous2
• 4,260 points
44 views
0 votes
1 answer

MQTT broker for Windows IOT Core?

 There are a few options available for ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,530 points
277 views