<?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: Ruby Background Tasks with Starling</title>
	<atom:link href="http://davedupre.com/2008/03/25/ruby-background-tasks-with-starling/feed/" rel="self" type="application/rss+xml" />
	<link>http://davedupre.com/2008/03/25/ruby-background-tasks-with-starling/</link>
	<description>Some random thoughts - Go big or stay home!</description>
	<lastBuildDate>Mon, 23 Jan 2012 18:56:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Clerc Hydroscaph Limited Edition Chronograph Watch Review &#124; myblogaboutwatches</title>
		<link>http://davedupre.com/2008/03/25/ruby-background-tasks-with-starling/comment-page-3/#comment-1306</link>
		<dc:creator>Clerc Hydroscaph Limited Edition Chronograph Watch Review &#124; myblogaboutwatches</dc:creator>
		<pubDate>Wed, 26 Oct 2011 12:16:13 +0000</pubDate>
		<guid isPermaLink="false">http://davedupre.com/2008/03/25/ruby-background-tasks-with-starling/#comment-1306</guid>
		<description>[...] watches used rolex cartier cartier trinity ring b4106200 cartier 593120                    Click here to cancel [...]</description>
		<content:encoded><![CDATA[<p>[...] watches used rolex cartier cartier trinity ring b4106200 cartier 593120                    Click here to cancel [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Diagono P10s Are Finding Owners &#8211; (5 Replies) &#124; Hello Watches!</title>
		<link>http://davedupre.com/2008/03/25/ruby-background-tasks-with-starling/comment-page-3/#comment-1305</link>
		<dc:creator>The Diagono P10s Are Finding Owners &#8211; (5 Replies) &#124; Hello Watches!</dc:creator>
		<pubDate>Wed, 26 Oct 2011 11:43:30 +0000</pubDate>
		<guid isPermaLink="false">http://davedupre.com/2008/03/25/ruby-background-tasks-with-starling/#comment-1305</guid>
		<description>[...] luminor marina panerai marina panerai orologi panerai pam 0063 panerai prezzi panerai price list panerai price list 2011 panerai radiomir    Filed under: Uncategorized Leave a comment     Comments (0) Trackbacks (0) ( [...]</description>
		<content:encoded><![CDATA[<p>[...] luminor marina panerai marina panerai orologi panerai pam 0063 panerai prezzi panerai price list panerai price list 2011 panerai radiomir    Filed under: Uncategorized Leave a comment     Comments (0) Trackbacks (0) ( [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nancy Snyder</title>
		<link>http://davedupre.com/2008/03/25/ruby-background-tasks-with-starling/comment-page-3/#comment-1188</link>
		<dc:creator>Nancy Snyder</dc:creator>
		<pubDate>Tue, 28 Dec 2010 12:49:20 +0000</pubDate>
		<guid isPermaLink="false">http://davedupre.com/2008/03/25/ruby-background-tasks-with-starling/#comment-1188</guid>
		<description>Hi,

I am with a staffing agency looking for a VP level person. Location is RI. Was hoping you may know someone to fit the role. A few particulars are below.

#1 management skills-someone who has managed up to  20

#2 relevant technical skills/knowledge—PHP
Someone who has/can code PHP
Have they done technical development? Can they hold their own in a group of talented PHP developers?

The rest—social media and industry background is icing on the  cake
Having built SAAS PHP architecture is a plus/helpful</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am with a staffing agency looking for a VP level person. Location is RI. Was hoping you may know someone to fit the role. A few particulars are below.</p>
<p>#1 management skills-someone who has managed up to  20</p>
<p>#2 relevant technical skills/knowledge—PHP<br />
Someone who has/can code PHP<br />
Have they done technical development? Can they hold their own in a group of talented PHP developers?</p>
<p>The rest—social media and industry background is icing on the  cake<br />
Having built SAAS PHP architecture is a plus/helpful</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://davedupre.com/2008/03/25/ruby-background-tasks-with-starling/comment-page-3/#comment-880</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Tue, 14 Dec 2010 00:59:52 +0000</pubDate>
		<guid isPermaLink="false">http://davedupre.com/2008/03/25/ruby-background-tasks-with-starling/#comment-880</guid>
		<description>I&#039;m not sure what you are trying to accomplish by doing this? If you set RAILS_ENV=test, no queue will be used and your workers will be called synchronously. This will allow for testing to happen normally. You can also set your environments to use Asynch calls as well. However, if you do that, then your tests will only ensure that a message will be put on the queue. There will be no no way to know if anything happened as a result of the message.</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure what you are trying to accomplish by doing this? If you set RAILS_ENV=test, no queue will be used and your workers will be called synchronously. This will allow for testing to happen normally. You can also set your environments to use Asynch calls as well. However, if you do that, then your tests will only ensure that a message will be put on the queue. There will be no no way to know if anything happened as a result of the message.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lee</title>
		<link>http://davedupre.com/2008/03/25/ruby-background-tasks-with-starling/comment-page-3/#comment-875</link>
		<dc:creator>Lee</dc:creator>
		<pubDate>Mon, 13 Dec 2010 20:59:32 +0000</pubDate>
		<guid isPermaLink="false">http://davedupre.com/2008/03/25/ruby-background-tasks-with-starling/#comment-875</guid>
		<description>Hi Dave,

I know this is a very late comment, but I&#039;ll shoot anyway.

What if you want to run some tests that incorporate workling on the same box you develop on? Or what if your development box is the same as your production box (for perhaps a different branch of your code)?

It seems workling only respects RAILS_ENV and there is no way I can see to get this to play nicely. 

I can do something like manually set RAILS_ENV=test in my tests, then set it back to RAILS_ENV=development afterwards, but that seems really hacky and far less than ideal.

any suggestions would be appreciated.

thanks,

Lee.</description>
		<content:encoded><![CDATA[<p>Hi Dave,</p>
<p>I know this is a very late comment, but I&#8217;ll shoot anyway.</p>
<p>What if you want to run some tests that incorporate workling on the same box you develop on? Or what if your development box is the same as your production box (for perhaps a different branch of your code)?</p>
<p>It seems workling only respects RAILS_ENV and there is no way I can see to get this to play nicely. </p>
<p>I can do something like manually set RAILS_ENV=test in my tests, then set it back to RAILS_ENV=development afterwards, but that seems really hacky and far less than ideal.</p>
<p>any suggestions would be appreciated.</p>
<p>thanks,</p>
<p>Lee.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Better Diet Products</title>
		<link>http://davedupre.com/2008/03/25/ruby-background-tasks-with-starling/comment-page-3/#comment-794</link>
		<dc:creator>Better Diet Products</dc:creator>
		<pubDate>Sat, 04 Dec 2010 07:49:57 +0000</pubDate>
		<guid isPermaLink="false">http://davedupre.com/2008/03/25/ruby-background-tasks-with-starling/#comment-794</guid>
		<description>Found your web sites on AskJeeves, great information, but the site looks awkward in doing my browser setup, but gets results fine in IE. proceed figure.</description>
		<content:encoded><![CDATA[<p>Found your web sites on AskJeeves, great information, but the site looks awkward in doing my browser setup, but gets results fine in IE. proceed figure.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pierre</title>
		<link>http://davedupre.com/2008/03/25/ruby-background-tasks-with-starling/comment-page-3/#comment-773</link>
		<dc:creator>Pierre</dc:creator>
		<pubDate>Sun, 19 Sep 2010 19:58:38 +0000</pubDate>
		<guid isPermaLink="false">http://davedupre.com/2008/03/25/ruby-background-tasks-with-starling/#comment-773</guid>
		<description>Thanks a lot Dave - you pointed me in the right direction. My problem had nothing to do with Passenger. It took me a while to figure this out, but I think it was just a consequence of the load (I was testing with multiple simultaneous calls to my app). Indeed, I didn&#039;t realize that the default timeout for memcache was 0.5s. Since I am making quite a lot of calls to the queue, some could not get completed in time and I was missing the respective message. When I set a long memcache timeout, the problem disappears.

I have to say it is kind of weird, since I have to set it really long (more than 10s, or even leaving it to nil). Something is blocking somewhere, I need to investigate.

Anyway, thank you very much for your help on this.</description>
		<content:encoded><![CDATA[<p>Thanks a lot Dave &#8211; you pointed me in the right direction. My problem had nothing to do with Passenger. It took me a while to figure this out, but I think it was just a consequence of the load (I was testing with multiple simultaneous calls to my app). Indeed, I didn&#8217;t realize that the default timeout for memcache was 0.5s. Since I am making quite a lot of calls to the queue, some could not get completed in time and I was missing the respective message. When I set a long memcache timeout, the problem disappears.</p>
<p>I have to say it is kind of weird, since I have to set it really long (more than 10s, or even leaving it to nil). Something is blocking somewhere, I need to investigate.</p>
<p>Anyway, thank you very much for your help on this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://davedupre.com/2008/03/25/ruby-background-tasks-with-starling/comment-page-3/#comment-772</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Fri, 17 Sep 2010 17:49:24 +0000</pubDate>
		<guid isPermaLink="false">http://davedupre.com/2008/03/25/ruby-background-tasks-with-starling/#comment-772</guid>
		<description>I can&#039;t seem to find anything specific in my code. I processed several million messages with starling, workling, and passenger without a problem. The only thing I can think of is to make sure the :multithread arg is true when you init memcache-client. The issue here seems to be with starling which means that passenger may  not have anyhing to do with it. Your workers are running in the workling processes, not passenger.

Are you getting the errors from your workers making the calls to each other vs. passenger app trying to add a new workling message to the queue?</description>
		<content:encoded><![CDATA[<p>I can&#8217;t seem to find anything specific in my code. I processed several million messages with starling, workling, and passenger without a problem. The only thing I can think of is to make sure the :multithread arg is true when you init memcache-client. The issue here seems to be with starling which means that passenger may  not have anyhing to do with it. Your workers are running in the workling processes, not passenger.</p>
<p>Are you getting the errors from your workers making the calls to each other vs. passenger app trying to add a new workling message to the queue?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pierre</title>
		<link>http://davedupre.com/2008/03/25/ruby-background-tasks-with-starling/comment-page-3/#comment-771</link>
		<dc:creator>Pierre</dc:creator>
		<pubDate>Tue, 14 Sep 2010 20:25:05 +0000</pubDate>
		<guid isPermaLink="false">http://davedupre.com/2008/03/25/ruby-background-tasks-with-starling/#comment-771</guid>
		<description>Thanks a lot Dave. If you find out and could share some hints on how you managed to overcome this problem it would be fantastic - I am definitely struggling with this, and there is not that much info around...

I came across this fairly recent post:
http://plasti.cx/2010/02/03/getting-passenger-to-play-nice-with-interlock-cache_fu-and-memcached
where they say memcache-client just doesn&#039;t work with Passenger and I was getting really concerned...</description>
		<content:encoded><![CDATA[<p>Thanks a lot Dave. If you find out and could share some hints on how you managed to overcome this problem it would be fantastic &#8211; I am definitely struggling with this, and there is not that much info around&#8230;</p>
<p>I came across this fairly recent post:<br />
<a href="http://plasti.cx/2010/02/03/getting-passenger-to-play-nice-with-interlock-cache_fu-and-memcached" rel="nofollow">http://plasti.cx/2010/02/03/getting-passenger-to-play-nice-with-interlock-cache_fu-and-memcached</a><br />
where they say memcache-client just doesn&#8217;t work with Passenger and I was getting really concerned&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://davedupre.com/2008/03/25/ruby-background-tasks-with-starling/comment-page-3/#comment-770</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Tue, 14 Sep 2010 02:46:33 +0000</pubDate>
		<guid isPermaLink="false">http://davedupre.com/2008/03/25/ruby-background-tasks-with-starling/#comment-770</guid>
		<description>Pierre, I recall seeing something like this, but I can&#039;t remember the details. Unfortunately, my computer is not available until Thursday. I will take a look then.</description>
		<content:encoded><![CDATA[<p>Pierre, I recall seeing something like this, but I can&#8217;t remember the details. Unfortunately, my computer is not available until Thursday. I will take a look then.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

