<?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: How do you do, that voodoo, that Queues Do?</title>
	<atom:link href="http://fewbar.com/2010/01/queue-voodoo-that-queues-do/feed/" rel="self" type="application/rss+xml" />
	<link>http://fewbar.com/2010/01/queue-voodoo-that-queues-do/</link>
	<description>Technology, life, and mischief, not in that order</description>
	<lastBuildDate>Sat, 27 Mar 2010 11:49:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Bruce Snyder</title>
		<link>http://fewbar.com/2010/01/queue-voodoo-that-queues-do/comment-page-1/#comment-265</link>
		<dc:creator>Bruce Snyder</dc:creator>
		<pubDate>Sat, 23 Jan 2010 20:25:18 +0000</pubDate>
		<guid isPermaLink="false">http://fewbar.com/?p=136#comment-265</guid>
		<description>Ah, yes, that&#039;s a very different scenario and is known by a few names including infinite failover and continuous availability. This feature is not available in ActiveMQ largely because it&#039;s a very difficult problem to solve for many reasons. Some of the commercial MOMs have solved this and that&#039;s partially why they cost so much money. But they also come with some very costly requirements to make such a feature work, too. Thanks for the clarification. 

Bruce</description>
		<content:encoded><![CDATA[<p>Ah, yes, that&#8217;s a very different scenario and is known by a few names including infinite failover and continuous availability. This feature is not available in ActiveMQ largely because it&#8217;s a very difficult problem to solve for many reasons. Some of the commercial MOMs have solved this and that&#8217;s partially why they cost so much money. But they also come with some very costly requirements to make such a feature work, too. Thanks for the clarification. </p>
<p>Bruce</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: clint</title>
		<link>http://fewbar.com/2010/01/queue-voodoo-that-queues-do/comment-page-1/#comment-264</link>
		<dc:creator>clint</dc:creator>
		<pubDate>Sat, 23 Jan 2010 05:52:35 +0000</pubDate>
		<guid isPermaLink="false">http://fewbar.com/?p=136#comment-264</guid>
		<description>Bruce,

I wasn&#039;t very clear in the article above. What I was referring to was the procedure required to recover with a pure Master/Slave.

http://activemq.apache.org/pure-master-slave.html

As I said, I&#039;m not looking for the big enterprise solution where I have a SAN or a big NFS appliance that I trust not to die (a really nice Linux or FreeBSD server running nfs doesn&#039;t count).

With pure master/slave, when the master fails the slave takes over and conceivably your stomp clients could be made to use it. However, when the master comes back online, according to the link above:

&quot;# A failed master cannot be re-introduced without shutting down the the slave broker (no automatic failback)
# There is no automatic synchronization between brokers. This is a manual process.&quot;

And the procedure:

&quot;This is a manual process - once a master has failed, the only sure way to ensure that the toplogy is synchronized again is manually:

    * shutdown the slave broker (The clients do not need to be shutdown - they will wait until the topology is re-established if they are failover clients
    * copy the data directory from the slave over the data directory of the master broker
    * re-start the master and the slave
&quot;

Stomp doesn&#039;t really have the &quot;failover&quot; bit builtin, though it can be made to do it more or less.

My issue with this is that one of the big points of using a queueing system is to be able to quickly dump messages into it and forget about them, trusting that a backend process will receive it.

But if I have to wait while a big backed up queue is synchronized, even if its just for 1 minute.. thats 1 minute of browser spinning, or errors due to timeouts.</description>
		<content:encoded><![CDATA[<p>Bruce,</p>
<p>I wasn&#8217;t very clear in the article above. What I was referring to was the procedure required to recover with a pure Master/Slave.</p>
<p><a href="http://activemq.apache.org/pure-master-slave.html" rel="nofollow">http://activemq.apache.org/pure-master-slave.html</a></p>
<p>As I said, I&#8217;m not looking for the big enterprise solution where I have a SAN or a big NFS appliance that I trust not to die (a really nice Linux or FreeBSD server running nfs doesn&#8217;t count).</p>
<p>With pure master/slave, when the master fails the slave takes over and conceivably your stomp clients could be made to use it. However, when the master comes back online, according to the link above:</p>
<p>&#8220;# A failed master cannot be re-introduced without shutting down the the slave broker (no automatic failback)<br />
# There is no automatic synchronization between brokers. This is a manual process.&#8221;</p>
<p>And the procedure:</p>
<p>&#8220;This is a manual process &#8211; once a master has failed, the only sure way to ensure that the toplogy is synchronized again is manually:</p>
<p>    * shutdown the slave broker (The clients do not need to be shutdown &#8211; they will wait until the topology is re-established if they are failover clients<br />
    * copy the data directory from the slave over the data directory of the master broker<br />
    * re-start the master and the slave<br />
&#8221;</p>
<p>Stomp doesn&#8217;t really have the &#8220;failover&#8221; bit builtin, though it can be made to do it more or less.</p>
<p>My issue with this is that one of the big points of using a queueing system is to be able to quickly dump messages into it and forget about them, trusting that a backend process will receive it.</p>
<p>But if I have to wait while a big backed up queue is synchronized, even if its just for 1 minute.. thats 1 minute of browser spinning, or errors due to timeouts.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruce Snyder</title>
		<link>http://fewbar.com/2010/01/queue-voodoo-that-queues-do/comment-page-1/#comment-262</link>
		<dc:creator>Bruce Snyder</dc:creator>
		<pubDate>Fri, 22 Jan 2010 15:34:21 +0000</pubDate>
		<guid isPermaLink="false">http://fewbar.com/?p=136#comment-262</guid>
		<description>Actually, you don&#039;t need to shut down ActiveMQ for the master/slave to reconnect. You just need to configure the connection between them using the failover transport and it works like a charm. This feature was added in the ActiveMQ 5.3.0 release. In fact, I just tested this last week for use in a network of brokers in ActiveMQ. The write-up of it is available on my blog: 

http://bit.ly/6loIOu</description>
		<content:encoded><![CDATA[<p>Actually, you don&#8217;t need to shut down ActiveMQ for the master/slave to reconnect. You just need to configure the connection between them using the failover transport and it works like a charm. This feature was added in the ActiveMQ 5.3.0 release. In fact, I just tested this last week for use in a network of brokers in ActiveMQ. The write-up of it is available on my blog: </p>
<p><a href="http://bit.ly/6loIOu" rel="nofollow">http://bit.ly/6loIOu</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
