New Django + Orbited 0.6.x Tutorial
by Michael CarterSeptember 22nd, 2008I recently came across a new Orbited + Django tutorial. This tutorial is interesting because it shows how to run Orbited, Django, and a custom TCP server all in the same process. Obviously it makes sense to migrate to separate processes for a high-concurrency production deployment, but this method is perfect for developing applications and deploying small to medium instances.
Here’s our end result: Clients (browsers) connect to our Django-powered site and establish a Comet connection. Now we can push messages to the clients, right from our Django code, at any time and with as much frequency as we like. Since it’s real streaming Comet, each message goes over a persistent connection with no individual overhead.











September 26th, 2008 at 9:14 am
[...] Porter posted a tutorial on using Orbited with Django. Michael Carter has the scoop over on Comet [...]