Upgrading websocket application with Rainbows

Eric Wong normalperson at yhbt.net
Tue Mar 26 00:13:34 UTC 2013

Cary Cherng <ccherng at gmail.com> wrote:
> Is there a best practice for how to restart a Rails app that uses websockets?
> As far as I can tell, the Rainbows documentation doesn't say anything
> about how to deal with existing websocket connections when using
> signal handling to replace old processes with new ones.

Unfortunately, there isn't one that I know of.

I haven't looked at WebSockets in ages, but I think client-side code
needs to be taught to handle disconnects/shutdowns gracefully and retry
as needed.

More information about the rainbows-talk mailing list