<?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>Talk Unafraid &#187; activemq</title>
	<atom:link href="http://www.talkunafraid.co.uk/tag/activemq/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.talkunafraid.co.uk</link>
	<description>The (occasionally coherent) ramblings of a geek</description>
	<lastBuildDate>Sat, 07 Jan 2012 22:24:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>ActiveMQ/ActiveMessaging, a retrospective</title>
		<link>http://www.talkunafraid.co.uk/2008/11/activemqactivemessaging-a-retrospective/</link>
		<comments>http://www.talkunafraid.co.uk/2008/11/activemqactivemessaging-a-retrospective/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 22:21:37 +0000</pubDate>
		<dc:creator>James Harrison</dc:creator>
				<category><![CDATA[Awesome Stuff]]></category>
		<category><![CDATA[EVE Metrics]]></category>
		<category><![CDATA[Nexus]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[activemq]]></category>
		<category><![CDATA[messaging]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.talkunafraid.co.uk/?p=64</guid>
		<description><![CDATA[OK- I&#8217;ve been using ActiveMQ and ActiveMessaging for weeks now on EVE Metrics. And it&#8217;s great! Kinda. The performance is fantastic, I&#8217;ve got no complaints there. ActiveMQ is an absolutely solid, fantastic message broker. It&#8217;s easy to manage, rivalled only by RabbitMQ in general quality, and great to work with. ActiveMessaging, however, has a way [...]]]></description>
			<content:encoded><![CDATA[<p>OK- I&#8217;ve been using ActiveMQ and ActiveMessaging for weeks now on EVE Metrics. And it&#8217;s great! Kinda. The performance is fantastic, I&#8217;ve got no complaints there. ActiveMQ is an absolutely solid, fantastic message broker. It&#8217;s easy to manage, rivalled only by RabbitMQ in general quality, and great to work with. ActiveMessaging, however, has a way to go.</p>
<p>The lack of fault management and good process management is a problem. Quite often workers would not be used for an hour or two, and MySQL would drop the connection. You&#8217;d expect AM to bottle out or reconnect at that point, but instead it just silently carries on, grabbing messages into a black hole. Not ideal. Getting the processes working well was difficult too- I ended up with a few shellscripts to manage them, running on a cronjob to restart them every hour to avoid the MySQL timeout problem. Not exactly ideal.</p>
<p>So, I&#8217;m moving the processing on EVE Metrics and Nexus (Which previously used AM/ActiveMQ for alert sending, amongst other things like API crawling) to a pure-Ruby solution from the guys who did Shopify, <a href="http://github.com/tobi/delayed_job/tree/master">delayed_job</a>. As well as being pure-Ruby (and thus not needing any external servers like ActiveMQ, simplifying install/setup) it&#8217;s got real provisions for locking, persistence even after working, and fault management. And it&#8217;s all ActiveRecord based, making an admin interface a cinch to add on. This should help loads, as debugging the AM setup was a bit hit and miss, and there are still bugs in there- see the lack of updates on the Orca/PLEX pages!</p>
<p>So, hopefully by the end of the weekend I&#8217;ll have Nexus ported, EVE Metrics ported, and some more stable queues&#8230;.</p>
<p>Off to <a href="http://rubymanor.org">RubyManor</a> in London on Saturday, if Boris doesn&#8217;t close Bakerloo as well as District/Circle. Looking forward to George&#8217;s talk on <a href="http://github.com/ezmobius/nanite/tree/master/">Nanite</a>, which I was looking at as an alternative to AM/ActiveMQ before I stumbled upon delayed_job- Nanite looks very cool, though for different jobs, and it&#8217;s worth looking at if you haven&#8217;t already.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.talkunafraid.co.uk/2008/11/activemqactivemessaging-a-retrospective/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

