<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Running long processes in Django</title>
	<atom:link href="http://iraniweb.com/blog/?feed=rss2&#038;p=56" rel="self" type="application/rss+xml" />
	<link>http://iraniweb.com/blog/?p=56</link>
	<description></description>
	<lastBuildDate>Wed, 01 Sep 2010 07:29:14 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: star</title>
		<link>http://iraniweb.com/blog/?p=56&#038;cpage=1#comment-1218</link>
		<dc:creator>star</dc:creator>
		<pubDate>Fri, 19 Feb 2010 09:11:38 +0000</pubDate>
		<guid isPermaLink="false">http://iraniweb.com/blog/?p=56#comment-1218</guid>
		<description>Firstly, thank you for this interesting post, but I would like to know if it is possible to set up a Django project with RabbitMQ AND Pyro, I mean using Django to build the entire project (with views, database...), RabbitMQ to encapsulate data in queues and Pyro to synchronize communication as it uses already the Peackle protocole ?</description>
		<content:encoded><![CDATA[<p>Firstly, thank you for this interesting post, but I would like to know if it is possible to set up a Django project with RabbitMQ AND Pyro, I mean using Django to build the entire project (with views, database&#8230;), RabbitMQ to encapsulate data in queues and Pyro to synchronize communication as it uses already the Peackle protocole ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: michael</title>
		<link>http://iraniweb.com/blog/?p=56&#038;cpage=1#comment-1183</link>
		<dc:creator>michael</dc:creator>
		<pubDate>Mon, 31 Aug 2009 16:33:13 +0000</pubDate>
		<guid isPermaLink="false">http://iraniweb.com/blog/?p=56#comment-1183</guid>
		<description>Tal, you need to run both of those processes on their own in the background on your server.</description>
		<content:encoded><![CDATA[<p>Tal, you need to run both of those processes on their own in the background on your server.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tal</title>
		<link>http://iraniweb.com/blog/?p=56&#038;cpage=1#comment-1181</link>
		<dc:creator>Tal</dc:creator>
		<pubDate>Sun, 30 Aug 2009 20:38:33 +0000</pubDate>
		<guid isPermaLink="false">http://iraniweb.com/blog/?p=56#comment-1181</guid>
		<description>How do I run these along with my Django process:
pyro-ns
python name_of_pyro_file.py 
?

Thanks,

Tal.</description>
		<content:encoded><![CDATA[<p>How do I run these along with my Django process:<br />
pyro-ns<br />
python name_of_pyro_file.py<br />
?</p>
<p>Thanks,</p>
<p>Tal.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: slav0nic</title>
		<link>http://iraniweb.com/blog/?p=56&#038;cpage=1#comment-751</link>
		<dc:creator>slav0nic</dc:creator>
		<pubDate>Thu, 05 Feb 2009 10:56:09 +0000</pubDate>
		<guid isPermaLink="false">http://iraniweb.com/blog/?p=56#comment-751</guid>
		<description>interesting, but in u can use signals for this or standard threading module ;)</description>
		<content:encoded><![CDATA[<p>interesting, but in u can use signals for this or standard threading module <img src='http://iraniweb.com/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stu</title>
		<link>http://iraniweb.com/blog/?p=56&#038;cpage=1#comment-750</link>
		<dc:creator>Stu</dc:creator>
		<pubDate>Tue, 03 Feb 2009 16:41:32 +0000</pubDate>
		<guid isPermaLink="false">http://iraniweb.com/blog/?p=56#comment-750</guid>
		<description>Interesting... I wasn&#039;t sure how to solve this for a long running process (reading through lots of data).

In the end, I made a class BackgroundJob, in __init__ I start a thread, which runs a passed in function.
The thread goes into a dictionary.

Different classes extend BackgroundThread, and can do different things + report back their status.

There is an autorefreshing view that tracks the status.

I need to generalise the stuff and put some code up on django snippets at some point :)</description>
		<content:encoded><![CDATA[<p>Interesting&#8230; I wasn&#8217;t sure how to solve this for a long running process (reading through lots of data).</p>
<p>In the end, I made a class BackgroundJob, in __init__ I start a thread, which runs a passed in function.<br />
The thread goes into a dictionary.</p>
<p>Different classes extend BackgroundThread, and can do different things + report back their status.</p>
<p>There is an autorefreshing view that tracks the status.</p>
<p>I need to generalise the stuff and put some code up on django snippets at some point <img src='http://iraniweb.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
