I have been looking into this gist which provides a minimal functional implementation of channelled pub/sub style communication over websockets.
For multiple channels we can have a local hash of EM::Channel
instances which can be created on the fly as per requirements. What I am concerned with is how can this setup be scaled to support a cluster of server instances or what alternatives are available to facilitate channeled pub/sub via web-sockets which are usable in clustered deployments ?