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,160 points
2,577 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,620 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,280 points
1,407 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,280 points
9,429 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,270 points
582 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,130 points
1,476 views
0 votes
1 answer

Eclipse Paho: read data from MQTT Broker

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

answered Aug 9, 2018 in IoT (Internet of Things) by DataKing99
• 8,250 points
2,416 views
0 votes
1 answer

Where is published message stored by mosquitto broker if offline?

Well, of course, they are stored! That ...READ MORE

answered Aug 10, 2018 in IoT (Internet of Things) by nirvana
• 3,130 points
3,764 views
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,280 points
1,839 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,280 points
744 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,620 points
1,312 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP