Since a while I'm using SocketStream on Stackato (= CloudFoundry compatible PaaS).
In order to support the web-socket transport I had to configure the Stackato router to load-balance multiple instances based on sessions.
The way of doing this is to let the router know, what the session cookie is. Unfortunately there is no way in SocketStream the specify a cookie name for that. That's why I used the one created by connect. That is "connect.sid"
After configuring the router and creating two parallel running socketstream web servers, it seems to work fine.
What's strange is that after each reload of the page (init the client) the protocol flips between pure web-socket connection and long polling.
There are no errors in the server.
Has someone else made experiences/recommendations using sticky sessions with web-sockets and how to configure the router properly.
I'm a bit nervous, that SocketStream is behind the latest web-socket versions and no update is planned yet.
Regards,
klaus