News for hackers. Stuff that matters.
Re:Rainbow Deployments with Kubernetes by jkarneges on Wednesday February 14, 2018 @01:41PM (#16378108)
This is essentially how Pushpin (http://pushpin.org) works. It can hold a raw WebSocket connection open with a client, but it speaks HTTP to the backend server, and the backend can be restarted without the client noticing.
Re:Rainbow Deployments with Kubernetes by codegladiator on Wednesday February 14, 2018 @03:52PM (#16379253)
This is a nginx module for this functionality

https://nchan.io/

I have used it before. Super easy to setup. Even with kubernetes.

Re:Rainbow Deployments with Kubernetes by jkarneges on Wednesday February 14, 2018 @04:15PM (#16379444)
Interesting, I didn't think Nchan would be able to drive a raw WebSocket session with the client, but upon closer look it seems like it might be possible using the auth and message forwarding hooks. Very cool.