I have a multi-tenant web application server serving customers that each also have a remote on-premise server. The web app & on-premise servers communicates using WAMP via a router running somewhere. To isolate customers from one another, there’d be a realm per customer.
I guess it is possible to build a WAMP “megaclient” that instantiates a component per customer / realm. Is that how it should be done? But does that mean also a separate connection per customer to the router? Is there any way to multiplex the connections over a single (say, websocket) transport, so that a single connection would suffice?
Seems there’s a IETF draft for websocket multiplexing: https://tools.ietf.org/html/draft-ietf-hybi-websocket-multiplexing-11.