nlplab / brat

brat rapid annotation tool (brat) - for all your textual annotation needs
http://brat.nlplab.org
Other
1.82k stars 509 forks source link

Use web sockets for collaborative mode #907

Open spyysalo opened 12 years ago

spyysalo commented 12 years ago

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/).

spyysalo commented 12 years ago

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.