I'm currently developing a site in Django that I'd like to implement some sort of quasi-realtime update system for.
Since this site is intended for mobile devices, I was wondering what the performance comparison was between periodically polling the server for changes (say, every 5 seconds) and using some sort of Websocket implementation ala http://codysoyland.com/2011/feb/6/evented-django-part-one-socketio-and-gevent/.
With respect to battery life, is the difference negligible? Code-wise, it seems an AJAX implementation would also be simpler.