An example of an COMET chat application taken from facebook's (friendfeed actually) 
python based tornado web framework and converted to use django and eventlet.

based upon the gevent port of that tornado example by Denis Bilenko (here: and here: 
The original tornado version can be found here:

To start the server, run
$ python

or using spawing (
$ spawn --processes=1 --threads=0 run.application