Scenario of mqtt broker crashing

27 views
Skip to first unread message

kushal bhatta

unread,
May 6, 2018, 2:43:18 AM5/6/18
to MQTT
Hi,

We have nearly built a custom broker.Now we are concerned about the scenario when one broker crashes .
In that case how to replicate all the broker states to a new broker instance ?
Thanks,
Kushal

kushal bhatta

unread,
May 8, 2018, 5:29:21 AM5/8/18
to MQTT
Sorry ,Actually I dont want the implementation part here,but some of the ideas as a start in this scenario :).

Thanks,

Thomas

unread,
May 15, 2018, 4:50:12 AM5/15/18
to MQTT
Hi Kushal,

I would say your question is out of scope with regards to the MQTT protocol. As we don't know what your requirements are we can't tell you what is best in your case, but the following options come to mind: use a (No)SQL database or maybe something like ZooKeeper. And maybe you don't need to do anything as clients should reconnect to the new instance of the broker (and if you are running QoS > 0 the clients should resent anyway). 

Just some thoughts and good luck,
Thomas
Reply all
Reply to author
Forward
0 new messages