The collaborative mode polling system is poor, slow, and interferes with annotation. We should use some actual push system instead. Web sockets seem to be pretty much the perfect fit.
Also, a permanent WS connection would open up a bunch of other opportunities, such as allowing the system to notice when an annotator closes the page for the annotation timing log.
The collaborative mode polling system is poor, slow, and interferes with annotation. We should use some actual push system instead. Web sockets seem to be pretty much the perfect fit.
https://github.com/spyysalo/wsserver has a really simple example based on pywebsocket (http://code.google.com/p/pywebsocket/).