Lightstreamer

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]
Comet Support by SitePen

One Response 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 [...]

Leave a Reply



Copyright 2008 Comet Daily, LLC. All Rights Reserved