Websockets on cluster


#1

Enonic version: 7.2.0
OS: Mint 19

Does Enonic cluster support extend to WebSocket? I mean when I set a Websocket server using Enonic in a cluster environment does it automatically scale it and manage all communication?


#2

The websocket is then only on one of the servers in the cluster. As such, you will need to facilitate some way to “connect” between two websocket running on different serveres when you have a cluster. I.e. using events or storing data in a node for instance.

In the near future we expect to release grid support, mening for instance that a memory object can be cluster wide. This might then also be used to facilitate such a requirement.