title: Techniques for keeping Websocket connections alive during depoys/crash
body: <p>I have a websocket base web app which I am often hesitant to deploy to as a deploy will kill all connections forcing the clients to reconnect. I currently don't have a nice offline sync feature built in but I would still rather not rely on this.</p>
  
  <p>For deploys I was planning on looking at <a href="https://github.com/dotcloud/hipache" rel="nofollow">hipache</a> and pulling a server out of rotation when while it gets updated.This doesn't deal with the situation that one of the server instances crashes while their are still others up and running.</p>
  
  <p>Are their any proven techniques are their for dealing with this?</p>