jbudd, With both broker & client running in the same application, and not knowing exactly how Node-Red is internally implemented, I was concerned about potential conflict resolution issues if both disparate functions were simultaneously running in the same app. Having the broker in one instance, and the client in another would allow the OS to manage conflicts. UPDATE: Correct me if I’m wrong, but It appears that Node-Red is a client of a Node.js server. If that’s the case having separate client instances may not matter.
Regarding MQTT, given it’s advantages, I’ve decided to stick with that approach.
Read more here: Source link