<?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: More Asynchronous Processing</title>
	<atom:link href="http://davedupre.com/2008/11/04/more-asynchronous-processing/feed/" rel="self" type="application/rss+xml" />
	<link>http://davedupre.com/2008/11/04/more-asynchronous-processing/</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: Dave</title>
		<link>http://davedupre.com/2008/11/04/more-asynchronous-processing/comment-page-1/#comment-289</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Fri, 14 Nov 2008 16:42:54 +0000</pubDate>
		<guid isPermaLink="false">http://davedupre.com/?p=111#comment-289</guid>
		<description>Yes, the create_xxxx call is synchronous, and you&#039;re right. I was confusing the original issue I had. My original issue with link_to was that I was sending emails from other workling tasks, and it&#039;s those that do not have access to the HOST value. Therefore, emails sent from the web app should work fine.  Thanks for catching that!

Regarding large messages, I have not noticed any issues. Generally, the emails that I send are pretty small (a few k), so it&#039;s not a big deal. Looking at the Starling source, I suspect the issue with large messages has more to do with the queue being in memory than anything technical.</description>
		<content:encoded><![CDATA[<p>Yes, the create_xxxx call is synchronous, and you&#8217;re right. I was confusing the original issue I had. My original issue with link_to was that I was sending emails from other workling tasks, and it&#8217;s those that do not have access to the HOST value. Therefore, emails sent from the web app should work fine.  Thanks for catching that!</p>
<p>Regarding large messages, I have not noticed any issues. Generally, the emails that I send are pretty small (a few k), so it&#8217;s not a big deal. Looking at the Starling source, I suspect the issue with large messages has more to do with the queue being in memory than anything technical.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron Gibralter</title>
		<link>http://davedupre.com/2008/11/04/more-asynchronous-processing/comment-page-1/#comment-288</link>
		<dc:creator>Aaron Gibralter</dc:creator>
		<pubDate>Fri, 14 Nov 2008 16:29:39 +0000</pubDate>
		<guid isPermaLink="false">http://davedupre.com/?p=111#comment-288</guid>
		<description>Doesn&#039;t the create_xxxx call happen synchronously? So shouldn&#039;t the link_tos function &quot;correctly&quot; (with host and all) since they get called in the mongrel process before it gets handed off to workling?

Also, have you noticed any problems with large messages? I thought the idea of Workling/Starlign was to send short messages... The entire TMail seems like a potentially large thing to send via a starling queue. Is there a way to instead send the Mailer&#039;s arguments rather than the TMail itself?</description>
		<content:encoded><![CDATA[<p>Doesn&#8217;t the create_xxxx call happen synchronously? So shouldn&#8217;t the link_tos function &#8220;correctly&#8221; (with host and all) since they get called in the mongrel process before it gets handed off to workling?</p>
<p>Also, have you noticed any problems with large messages? I thought the idea of Workling/Starlign was to send short messages&#8230; The entire TMail seems like a potentially large thing to send via a starling queue. Is there a way to instead send the Mailer&#8217;s arguments rather than the TMail itself?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://davedupre.com/2008/11/04/more-asynchronous-processing/comment-page-1/#comment-271</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Tue, 11 Nov 2008 16:52:38 +0000</pubDate>
		<guid isPermaLink="false">http://davedupre.com/?p=111#comment-271</guid>
		<description>This is pretty much exactly the same thing as I did, but it is wrapped up in a plugin.  The other difference is that they are not using Starling.  If you are already using Starling, then there is no need to add another queue server to the mix.

However, either way will work perfectly.</description>
		<content:encoded><![CDATA[<p>This is pretty much exactly the same thing as I did, but it is wrapped up in a plugin.  The other difference is that they are not using Starling.  If you are already using Starling, then there is no need to add another queue server to the mix.</p>
<p>However, either way will work perfectly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neil</title>
		<link>http://davedupre.com/2008/11/04/more-asynchronous-processing/comment-page-1/#comment-270</link>
		<dc:creator>Neil</dc:creator>
		<pubDate>Tue, 11 Nov 2008 16:42:41 +0000</pubDate>
		<guid isPermaLink="false">http://davedupre.com/?p=111#comment-270</guid>
		<description>Looks like the Workling guys have done it again - their latest post shows a really, really easy way to create async outgoing email by default;

http://playtype.net/past/2008/11/11/sending_mail_asynchronously_in_rails/

I haven&#039;t tried it but I could end up implementing it soon. How does that look to you, Dave?</description>
		<content:encoded><![CDATA[<p>Looks like the Workling guys have done it again &#8211; their latest post shows a really, really easy way to create async outgoing email by default;</p>
<p><a href="http://playtype.net/past/2008/11/11/sending_mail_asynchronously_in_rails/" rel="nofollow">http://playtype.net/past/2008/11/11/sending_mail_asynchronously_in_rails/</a></p>
<p>I haven&#8217;t tried it but I could end up implementing it soon. How does that look to you, Dave?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://davedupre.com/2008/11/04/more-asynchronous-processing/comment-page-1/#comment-269</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Thu, 06 Nov 2008 15:57:53 +0000</pubDate>
		<guid isPermaLink="false">http://davedupre.com/?p=111#comment-269</guid>
		<description>To be specific, link_to and other helpers still work. It&#039;s only the routing helpers that require a HOST that do not work. That means all the *_url helpers will have a problem. You can play games with _path methods and prefix your own HOST to it.  That&#039;s what I do.</description>
		<content:encoded><![CDATA[<p>To be specific, link_to and other helpers still work. It&#8217;s only the routing helpers that require a HOST that do not work. That means all the *_url helpers will have a problem. You can play games with _path methods and prefix your own HOST to it.  That&#8217;s what I do.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neil</title>
		<link>http://davedupre.com/2008/11/04/more-asynchronous-processing/comment-page-1/#comment-267</link>
		<dc:creator>Neil</dc:creator>
		<pubDate>Thu, 06 Nov 2008 09:29:35 +0000</pubDate>
		<guid isPermaLink="false">http://davedupre.com/?p=111#comment-267</guid>
		<description>Great post. That&#039;s handy a snippet - if it wasn&#039;t for the loss of helpers (although I&#039;m pretty sure I don&#039;t have any link_tos in mailer templates anymore), I&#039;d give this a go right now. 

I was looking for a similar solution a little while back, but the engine yard engineers (the app being hosted on engine yard) said that a single outgoing email per action isn&#039;t such a big deal because of their shared architecture - it seems they take the outgoing emails from your app and send it themselves. So, I&#039;ve implemented async processing for the four or so mailer methods which can potentially create more than one recipient (activity notifications within &#039;groups&#039;) and have to cycle through recipients to do so (plus I couldn&#039;t work out how to do your auto-async trick at the time, but now I know!).</description>
		<content:encoded><![CDATA[<p>Great post. That&#8217;s handy a snippet &#8211; if it wasn&#8217;t for the loss of helpers (although I&#8217;m pretty sure I don&#8217;t have any link_tos in mailer templates anymore), I&#8217;d give this a go right now. </p>
<p>I was looking for a similar solution a little while back, but the engine yard engineers (the app being hosted on engine yard) said that a single outgoing email per action isn&#8217;t such a big deal because of their shared architecture &#8211; it seems they take the outgoing emails from your app and send it themselves. So, I&#8217;ve implemented async processing for the four or so mailer methods which can potentially create more than one recipient (activity notifications within &#8216;groups&#8217;) and have to cycle through recipients to do so (plus I couldn&#8217;t work out how to do your auto-async trick at the time, but now I know!).</p>
]]></content:encoded>
	</item>
</channel>
</rss>

