naught icon indicating copy to clipboard operation
naught copied to clipboard

Naught + Socket.io

Open wpottier opened this issue 11 years ago • 4 comments
trafficstars

Hi,

I try to use naught on my project. This project was a webapp with an extensive use of websocket connection based on the lib socket.io.

The code works well when I use recluster for multiple worker but with naught the websocket connection is really unstable (many failed and disconnect).

Have you ever seen this behavior?

Thanks a lot for your help

wpottier avatar Aug 27 '14 07:08 wpottier

I just tested naught with websockets and it worked fine.

andrewrk avatar Dec 04 '14 20:12 andrewrk

The reason AFAICT is because the new socket.io relies on sticky sessions for multi-node support (see http://socket.io/docs/using-multiple-nodes/).

Is there a possibility of adding support for sticky sessions?

vishy1618 avatar Dec 17 '14 02:12 vishy1618

Are sticky sessions supported?

wamatt avatar Feb 11 '15 14:02 wamatt

Lack of support for sticky websocket sessions is the only feature keeping me from using naught. Would you consider adding support or accept a pull request using sticky-session or sticky-cluster?

majgis avatar Nov 13 '15 18:11 majgis