WebSockets: caution required
I've used websockets in several projects now.  They are more problematic than I originally thought they would be.<p>On my current project I'm using server-sent-events (SSE) for single-duplex pushing to the client.  I'm using AJAX calls for the other direction. So far the experience has been awesome.  Very light-weight and performant.  Just a dozen lines of code on the client with no framework.<p>Caveat: Doesn't work with IE.  A polyfill is required.  I am very lucky on this project that I don't need to support IE.