Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are some modern Comet servers written in Python?

I've built my application in python (using greenthreads from eventlent) and I was supposed to use Orbited as comet server to pass requests from user-end javascript code to my application.

Sadly, I found that Orbited is dead, site is down for a few weeks and it lack python 2.7 support.

Could you recommend some good replacements?

like image 262
Andrew Avatar asked Nov 13 '22 21:11

Andrew


1 Answers

You could build a comet server using gevent, meinheld, mongrel2, tornado, twisted, or uwsgi, all of which have long-polling examples. This list isn't exhaustive. You could also consider using WebSockets instead, several have WebSocket examples as well.

like image 78
zeekay Avatar answered Dec 20 '22 21:12

zeekay