I am working on a project using distributed node red, and I am wondering about multiple points. Suppose that we have a distributed flow on several devices on the network, each device (node) has a Node RED instance installed on it. So the devices are supposed to exchange information (traffic) between each others to achieve the functionality of the designed logic (distributed flow). After deploying the distributed flow, everything was working as I expected. But I am wondering:
Is the communication between devices done over mqtt protocol? (Just notice that I didn't use anything related to mqtt in my project)
If the answer of the above question is yes, the Broker should be in the machine running DNR editor?
Suppose the communication is done over mqtt protocol and there is a Broker somewhere, so it will receive all messages from publisher clients, filter them, and send them to the subscribed clients. How much is that scalable? So if we have a distributed flow over several devices generating a lot of traffic, would it be still working? If no, is there any alternative solution?
Hope all my questions were clear.
Thank you in advance!