<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Nobody Listens Anyway &#187; starling</title>
	<atom:link href="http://www.justinball.com/tag/starling/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.justinball.com</link>
	<description>Life is an optimization issue</description>
	<lastBuildDate>Sat, 31 Jul 2010 16:47:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0-alpha</generator>
		<item>
		<title>Using Starling, Workling with Ruby on Rails</title>
		<link>http://www.justinball.com/2008/08/18/using-starling-workling-with-ruby-on-rails/</link>
		<comments>http://www.justinball.com/2008/08/18/using-starling-workling-with-ruby-on-rails/#comments</comments>
		<pubDate>Mon, 18 Aug 2008 15:16:35 +0000</pubDate>
		<dc:creator>Justin Ball</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ruby On Rails]]></category>
		<category><![CDATA[asyncronous processing]]></category>
		<category><![CDATA[starling]]></category>
		<category><![CDATA[workling]]></category>

		<guid isPermaLink="false">http://www.justinball.com/?p=539</guid>
		<description><![CDATA[For the project we are working on for Teachers Without Borders we need a reliable asynchronous way to process tasks.  There are a myriad of ways to do this and if you aren't careful you'll spend weeks second guessing yourself while investigate every possible option.  Not that I would know that from experience. [...]]]></description>
			<content:encoded><![CDATA[<p>For the project we are working on for Teachers Without Borders we need a reliable asynchronous way to process tasks.  There are a myriad of ways to do this and if you aren't careful you'll spend weeks second guessing yourself while investigate every possible option.  Not that I would know that from experience.  </p>
<p>We chose <a href="http://rubyforge.org/projects/starling/">Starling</a> and Workling as our solution.  Starling is a message queue that uses memcache.  It was <a href="http://dev.twitter.com/2008/01/announcing-starling.html">built by the guys at Twitter</a> and <a href="http://blog.twitter.com/2008/01/twitters-starling-released-as-open.html">released as open source</a>.  I bet it scales.</p>
<p><a href="http://playtype.net/past/2008/2/6/starling_and_asynchrous_tasks_in_ruby_on_rails/">Workling</a> is a great plugin built by a couple of guys working on <a href="http://boomloop.com">boomloop.com</a>  It makes using Starling a bit easier especially when it comes to consuming messages from the queue.  </p>
<p>There are a few blog posts around that describe how to get stuff up and running.  Other than that the documentation is a bit sparse.  I have to believe that will change over time.  I am throwing my own links and experience into the mix so I don't forget how to do this.</p>
<p>First get the gems you need to run starling:<br />
sudo gem install starling<br />
sudo gem install memcache-client</p>
<p>Get the <a href="http://github.com/purzelrakete/workling/tree/master/Changes ">working plugin</a><br />
git clone http://github.com/purzelrakete/workling/tree/master/Changes </p>
<p># Get starling and working going with:<br />
#<br />
# Fire up starling - this isn't in daemon mode.  Add a -d for that.<br />
# starling -P tmp/pids/starling.pid -q tmp/starling<br />
#<br />
# Next fire up the server<br />
# script/server<br />
#<br />
# Get workling going<br />
# script/workling_starling_client start</p>
<p>A few more resources</p>
<p>http://www.williambharding.com/blog/rails/starling-update-from-the-horses-mouth/</p>
<p>http://davedupre.com/2008/03/25/ruby-background-tasks-with-starling/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.justinball.com/2008/08/18/using-starling-workling-with-ruby-on-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
