News for hackers. Stuff that matters.
Re:Why MQTT is better than REST by sametmax on Friday June 01, 2018 @08:34AM (#17204679)
WAMP is just websocket, so basically any web load balancer can offer redundancy, like the would do with another web service. I haven't done it, but I'm pretty sure you can spaw 4 crossbar instances, put nginx in the front and it will work.
Re:Why MQTT is better than REST by aramallo on Monday June 11, 2018 @11:08AM (#17284875)
The problem with this approach is that the 4 Crossbar instances will need to have a connection/session with at least an instance of each service you want to have global visibility of. This is because WAMP is a session-based protocol, every peer needs to be connected to a Router in order to interact with other peers. A Router cannot initiate sessions, only clients can.