SitePen Support
Free Liberator

New Django + Orbited 0.6.x Tutorial

by Michael CarterSeptember 22nd, 2008

I 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.

[Slashdot] [Digg] [Reddit] [del.icio.us] [Facebook] [Technorati] [Google] [StumbleUpon]
Lightstreamer

2 Responses to “New Django + Orbited 0.6.x Tutorial”

  1. Orbited Blog » Blog Archive » Django + Orbited 0.6.x Tutorial Says:

    [...] Porter posted a tutorial on using Orbited with Django. Michael Carter has the scoop over on Comet [...]

  2. Robert Says:

    Very late comment, but I just recently started looking at Comet / Orbited. I was considering using the Dark Porter method on my Django setup.

    Could you clarify what you mean by “it makes sense to migrate to separate processes for a high-concurrency production deployment”? Do you mean, A) to increase the number of processes that the worker-MPM should create in Dark Porter’s setup or B) to use a more standard solution ala Orbited/STOMP/RabbitMQ that is built for high-traffic?

    Thanks

Leave a Reply



Copyright 2010 Comet Daily, LLC. All Rights Reserved