Tue Jun 26 16:51:47 CDT 2012
We are aware of these alternatives. My philosophy (and I think it is
reflected in the rest of the team) is this: by sticking with plain
old WebSockets, all we have to do is *wait* for the situation to
improve. That is super easy to do! Once IE 10 comes out, we should
cover most browsers. If we go another route, *we* have to do all the
work, and in the end, we will throw that work away because WebSockets
will eventually have universal support. That sounds like extremely
low priority work to me.
People should not be running older browsers anyways. There is simply
no reason, you almost have to try hard to run an older browser.
The main area where I find WebSockets to be lacking is in the
proxy/load balancer support. As far as I know, Apache and nginx don't
support WebSocket proxying, but HAproxy does. I don't think the load
balancers on Rackspace or AWS do. But *today* these things are not
show stoppers for the notebook. As the notebook is run in different
contexts we will have to explore this space further. But again,
waiting is golden.
On Tue, Jun 26, 2012 at 2:32 PM, Jason Grout
> Have you guys thought about using the SockJS library to implement the
> websockets? It falls back to older methods if the browser doesn't
> support Websockets, and is designed as a drop-in replacement for
> websocket objects. There is a tornado-sockjs package as well.
> Here are some relevant links:
> (see in particular Serge's post; third one from the top).
> IPython-dev mailing list
Brian E. Granger
Cal Poly State University, San Luis Obispo
firstname.lastname@example.org and email@example.com
More information about the IPython-dev