Is NATS.io needed on RPi?
I am setting up the MC v2 on my RPi-4 with 4GB memory. I am hoping to add multiple gateways each with several MySensors boards connected to each gateway. It is not clear to me whether I need to have all of the dependant software installed or not. For example, do I need to have NATS.io installed for this? If so, should it be installed in my host or in docker?
I have the same questions for influxdb and MQTT broker. How do I know which ones I need and whether they should be installed in the host system or in docker?
MQTT Broker- if you plan to connect your gateway via MQTT, you need an mqtt broker. If you already one. you can use that. You can have MQTT broker in any system, that should be accessible for MyController and your gateway device. If you do not have complex system, you can keep everything on the same system.
MongoDB- for storage the default option is in-memory database. It keeps all the configurations(except metrics) in memory and dumps to dis in an interval. It will be faster. You can take a frequent backup with schedule. But someone wants to keep the storage in mongoDB, may be due to large setof configurations or to keep the data in remote location, or other reasons. It is up to you. fyi, I am using in-memory db and I do not see an issue till now(about 2 years)
InfludDB- you need to have this database, if you want graphs and metrics details
I hope I have addressed your queries