← Back to team overview

mosquitto-users team mailing list archive

Multiple brokers, persistence, and db backup

 

I am new to MQTT/Mosquitto and have a few questions. Thanks in advance!

1) I am currently testing a setup where a broker would bridge to 1 or more brokers so that similar messages are funneled into one place.  This makes it easy as a mqtt client would only need to be aware of one broker for those similar topics.  Is there a limit to how many brokers you can bridge to at the same time? Any advice/gotchas to be aware of?

2) Is it possible for mosquitto to use all of the available RAM on a machine, or is it capped at a certain limit?

3) How long does it take to save the in-memory database to disk If you have a large amount of subscriptions (100k+) and messages? 

4) If you had a broker running on a server that crashed and you had a backup of the database file, would there be any problems copying it over to a new server and starting a new broker with the database file?
 		 	   		  

Follow ups