<?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: RabbitMQ, Celery and Django</title>
	<atom:link href="http://webcookies.org/blog/2009/09/10/rabbitmq-celery-and-django/feed/" rel="self" type="application/rss+xml" />
	<link>http://webcookies.org/blog/2009/09/10/rabbitmq-celery-and-django/</link>
	<description>On stuff I do for living (and some random things as well).</description>
	<lastBuildDate>Tue, 27 Jul 2010 20:10:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Mike Bannister</title>
		<link>http://webcookies.org/blog/2009/09/10/rabbitmq-celery-and-django/comment-page-1/#comment-333</link>
		<dc:creator>Mike Bannister</dc:creator>
		<pubDate>Tue, 27 Jul 2010 20:10:00 +0000</pubDate>
		<guid isPermaLink="false">http://robertpogorzelski.com/blog/?p=78#comment-333</guid>
		<description>Hi,

I&#039;m probably missing something obvious but I&#039;m wondering if there&#039;s a
way to automatically reload tasks when the source changes? I&#039;m using
celery in a django app, starting it with a supervisord script with the
command:

/path/manage.py celeryd --loglevel=INFO

I have to reload or restart it every time I change the source code. Is
there some way I can make it auto reload tasks when in development?

Thanks very much for any advice,
Mike</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;m probably missing something obvious but I&#8217;m wondering if there&#8217;s a<br />
way to automatically reload tasks when the source changes? I&#8217;m using<br />
celery in a django app, starting it with a supervisord script with the<br />
command:</p>
<p>/path/manage.py celeryd &#8211;loglevel=INFO</p>
<p>I have to reload or restart it every time I change the source code. Is<br />
there some way I can make it auto reload tasks when in development?</p>
<p>Thanks very much for any advice,<br />
Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://webcookies.org/blog/2009/09/10/rabbitmq-celery-and-django/comment-page-1/#comment-254</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Mon, 26 Apr 2010 03:12:07 +0000</pubDate>
		<guid isPermaLink="false">http://robertpogorzelski.com/blog/?p=78#comment-254</guid>
		<description>Good point. Better go with what Celery already offers.</description>
		<content:encoded><![CDATA[<p>Good point. Better go with what Celery already offers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: grigory</title>
		<link>http://webcookies.org/blog/2009/09/10/rabbitmq-celery-and-django/comment-page-1/#comment-252</link>
		<dc:creator>grigory</dc:creator>
		<pubDate>Sun, 25 Apr 2010 21:03:24 +0000</pubDate>
		<guid isPermaLink="false">http://robertpogorzelski.com/blog/?p=78#comment-252</guid>
		<description>Franz, Robert,

You can also use celery&#039;s own views, if using in tandem with Django: http://ask.github.com/celery/reference/celery.views.html</description>
		<content:encoded><![CDATA[<p>Franz, Robert,</p>
<p>You can also use celery&#8217;s own views, if using in tandem with Django: <a href="http://ask.github.com/celery/reference/celery.views.html" rel="nofollow">http://ask.github.com/celery/reference/celery.views.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andrew</title>
		<link>http://webcookies.org/blog/2009/09/10/rabbitmq-celery-and-django/comment-page-1/#comment-127</link>
		<dc:creator>andrew</dc:creator>
		<pubDate>Sun, 28 Feb 2010 04:33:28 +0000</pubDate>
		<guid isPermaLink="false">http://robertpogorzelski.com/blog/?p=78#comment-127</guid>
		<description>Franz, as alternative to Roberts suggestion, one way to get the results to the front end is to write some status to the database after the task worker finishes. The web page can do a meta refresh every 5 seconds, checking the db if the task has completed successfully or not.</description>
		<content:encoded><![CDATA[<p>Franz, as alternative to Roberts suggestion, one way to get the results to the front end is to write some status to the database after the task worker finishes. The web page can do a meta refresh every 5 seconds, checking the db if the task has completed successfully or not.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://webcookies.org/blog/2009/09/10/rabbitmq-celery-and-django/comment-page-1/#comment-111</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Sun, 21 Feb 2010 00:56:34 +0000</pubDate>
		<guid isPermaLink="false">http://robertpogorzelski.com/blog/?p=78#comment-111</guid>
		<description>I believe that depends much on the way you want to retrieve data. If you need an API for accessing results remotely, and you&#039;re using Django, I&#039;d go for &lt;a href=&quot;http://bitbucket.org/jespern/django-piston/wiki/Home&quot; rel=&quot;nofollow&quot;&gt;Piston&lt;/a&gt;. That could help you building a nice and flexible RESTful interface. On the other hand, if you expect your data to get into the browser in real-time, you may want to have a look at Comet-like frameworks, e.g. &lt;a href=&quot;http://orbited.org/&quot; rel=&quot;nofollow&quot;&gt;Orbited&lt;/a&gt; (currently in zombie-state, as core developers concentrate on &lt;a href=&quot;http://js.io/&quot; rel=&quot;nofollow&quot;&gt;Js.io&lt;/a&gt;) or &lt;a href=&quot;http://www.ape-project.org/&quot; rel=&quot;nofollow&quot;&gt;APE&lt;/a&gt; (very cool, but I don&#039;t &quot;feel&quot; it personally). Anyway, there&#039;s a lot of cool stuff around, especially when dealing with STOMP/AMQP brokers. Please let me know about your further findings, I&#039;m very much interested in this stuff recently!</description>
		<content:encoded><![CDATA[<p>I believe that depends much on the way you want to retrieve data. If you need an API for accessing results remotely, and you&#8217;re using Django, I&#8217;d go for <a href="http://bitbucket.org/jespern/django-piston/wiki/Home" rel="nofollow">Piston</a>. That could help you building a nice and flexible RESTful interface. On the other hand, if you expect your data to get into the browser in real-time, you may want to have a look at Comet-like frameworks, e.g. <a href="http://orbited.org/" rel="nofollow">Orbited</a> (currently in zombie-state, as core developers concentrate on <a href="http://js.io/" rel="nofollow">Js.io</a>) or <a href="http://www.ape-project.org/" rel="nofollow">APE</a> (very cool, but I don&#8217;t &#8220;feel&#8221; it personally). Anyway, there&#8217;s a lot of cool stuff around, especially when dealing with STOMP/AMQP brokers. Please let me know about your further findings, I&#8217;m very much interested in this stuff recently!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Franz</title>
		<link>http://webcookies.org/blog/2009/09/10/rabbitmq-celery-and-django/comment-page-1/#comment-110</link>
		<dc:creator>Franz</dc:creator>
		<pubDate>Fri, 19 Feb 2010 23:24:58 +0000</pubDate>
		<guid isPermaLink="false">http://robertpogorzelski.com/blog/?p=78#comment-110</guid>
		<description>Nice writeup! One question though: how can the celery task report its status back to the web app? I&#039;m thinking of some ajaxy notification like &quot;xy% of your video converted&quot;.</description>
		<content:encoded><![CDATA[<p>Nice writeup! One question though: how can the celery task report its status back to the web app? I&#8217;m thinking of some ajaxy notification like &#8220;xy% of your video converted&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Debian Lennyでcelery/rabbitmqを動かすメモ &#124; Go for it!</title>
		<link>http://webcookies.org/blog/2009/09/10/rabbitmq-celery-and-django/comment-page-1/#comment-58</link>
		<dc:creator>Debian Lennyでcelery/rabbitmqを動かすメモ &#124; Go for it!</dc:creator>
		<pubDate>Sat, 14 Nov 2009 10:37:10 +0000</pubDate>
		<guid isPermaLink="false">http://robertpogorzelski.com/blog/?p=78#comment-58</guid>
		<description>[...] ちょっと駆け足でしたがPython Hack-a-thon #2で熱いネタだったのでとりあえず公開。突っ込み歓迎。 &#8211; もしmultiprocessing周りでエラーが出たら、以下のURLのパッチを適用する。 http://robertpogorzelski.com/blog/2009/09/10/rabbitmq-celery-and-django/ [...]</description>
		<content:encoded><![CDATA[<p>[...] ちょっと駆け足でしたがPython Hack-a-thon #2で熱いネタだったのでとりあえず公開。突っ込み歓迎。 &#8211; もしmultiprocessing周りでエラーが出たら、以下のURLのパッチを適用する。 <a href="http://robertpogorzelski.com/blog/2009/09/10/rabbitmq-celery-and-django/" rel="nofollow">http://robertpogorzelski.com/blog/2009/09/10/rabbitmq-celery-and-django/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert</title>
		<link>http://webcookies.org/blog/2009/09/10/rabbitmq-celery-and-django/comment-page-1/#comment-56</link>
		<dc:creator>Robert</dc:creator>
		<pubDate>Tue, 10 Nov 2009 22:00:51 +0000</pubDate>
		<guid isPermaLink="false">http://robertpogorzelski.com/blog/?p=78#comment-56</guid>
		<description>You&#039;re absolutely right, missed that somehow - updated. Thanks for pointing this out!</description>
		<content:encoded><![CDATA[<p>You&#8217;re absolutely right, missed that somehow &#8211; updated. Thanks for pointing this out!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob C</title>
		<link>http://webcookies.org/blog/2009/09/10/rabbitmq-celery-and-django/comment-page-1/#comment-54</link>
		<dc:creator>Rob C</dc:creator>
		<pubDate>Wed, 04 Nov 2009 18:35:56 +0000</pubDate>
		<guid isPermaLink="false">http://robertpogorzelski.com/blog/?p=78#comment-54</guid>
		<description>Oops!  Looks like the problem was that in INSTALLED_APPS I was using package.appname.tasks instead of just appname.tasks.

I think you still might need the tasks.register bit though.  Good times!</description>
		<content:encoded><![CDATA[<p>Oops!  Looks like the problem was that in INSTALLED_APPS I was using package.appname.tasks instead of just appname.tasks.</p>
<p>I think you still might need the tasks.register bit though.  Good times!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob C</title>
		<link>http://webcookies.org/blog/2009/09/10/rabbitmq-celery-and-django/comment-page-1/#comment-53</link>
		<dc:creator>Rob C</dc:creator>
		<pubDate>Wed, 04 Nov 2009 18:20:11 +0000</pubDate>
		<guid isPermaLink="false">http://robertpogorzelski.com/blog/?p=78#comment-53</guid>
		<description>Doesn&#039;t seem to work as described.  I continue to get error messages such as: 
[ERROR/MainProcess] Unknown task ignored: videos.tasks.ProcessVideoTask
[ERROR/MainProcess] Unknown task ignored: None

Also I noticed on the other celery tutorial they suggest adding a line to your tasks.py file:
&gt;&gt;&gt; tasks.register(ProcessVideoTask)

However adding this didn&#039;t seem to solve anything for me.</description>
		<content:encoded><![CDATA[<p>Doesn&#8217;t seem to work as described.  I continue to get error messages such as:<br />
[ERROR/MainProcess] Unknown task ignored: videos.tasks.ProcessVideoTask<br />
[ERROR/MainProcess] Unknown task ignored: None</p>
<p>Also I noticed on the other celery tutorial they suggest adding a line to your tasks.py file:<br />
&gt;&gt;&gt; tasks.register(ProcessVideoTask)</p>
<p>However adding this didn&#8217;t seem to solve anything for me.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
