Need help understanding Comet in Python (with Django)
|April 10, 2011||Posted by forumadmin under TechQns||
After spending two entire days on this I’m still finding it impossible to understand all the choices and configurations for Comet in Python. I’ve read all the answers here as well as every blog post I could find. It feels like I’m about to hemorrhage at this point, so my utmost apologies for anything wrong with this question.
I’m entirely new to all of this, all I’ve done before were simple non-real-time sites with a PHP/Django backend on Apache.
My goal is to create a real-time chat application; hopefully tied to Django for users, auth, templates, etc.
Every time I read about a tool it says I need another tool on top of it, it feels like a never-ending chain.
First of all, can anybody categorize all the tools needed for this job?
Twisted / Twisted Web seems to be popular, but I have no idea to to integrate it or what else I need (guessing I need client-side JS at least).
If I understand correctly, Orbited is built on Twisted, do I need anything else with it?
Are Gevent and Eventlet in the same category as Twisted? How much else do I need with them?
Where do things like Celery, RabbitMQ, or KV stores like Redis come into this? I don’t really understand the concept of a message queue. Are they essential and what service do they provide?
Are there any complete chat app tutorials I should look at?
I’ll be entirely indebted to anybody who helps me past this mental roadblock, and if I left anything out please don’t hesitate to ask. I know it’s a pretty loaded question.
|Asked By – XOR||Read Answers|