activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Fernandez <joe.fernan...@ttmsolutions.com>
Subject Re: Fail-over and clustering architecture
Date Sun, 09 Nov 2008 18:08:51 GMT

In an AMQ master-slave configuration, the slave remains inactive (i.e., does
not accept client connections) until it becomes the master.  So given that
your two jetty servers will be processing client/http requests, you may want
to consider decoupling the AMQ brokers from the jetty servers. In other
words, have your AMQ master-slave brokers run 'standalone' as opposed to
'embedded' w/in your jetty servers. 

        jetty          jetty 
          \               / 
           \           / 
            \        /   
               M/S

Your jetty-based AMQ clients would then use 'failover' transport connectors
to connect to your AMQ master-slave cluster.  

Joe
Get a free ActiveMQ user guide @ http://www.ttmsolutions.com



petedao wrote:
> 
> Hello,
> 
> I have a question about implementing a failover and clustering
> architecture
> for Activemq.  In my current architecture, I have a cluster of two Jetty
> servers running that serve incoming request distributed via a load
> balancer.  I would like to enable a ajax-based consumer for the web
> clients.  Web client would be connected to anyone of the two Jetty
> servers.
> Given this setting, I am considering implementing the Activemq broker
> embedded within each of the Jetty.  So, one Jetty running the embedded
> Activemq would be the Master and the other Jetty would br running the
> embedded as the Slave.
> 
> I am just starting to use Activemq and I would like some comments on
> whether
> this approach is the best solution?
> 
> On top of that, I would like to use camel to send out the incoming message
> to an external system.  The other problem I am having is how to configure
> the entire setup so that only the "Master" activemq will execute the camel
> route.  So it done automatically in a Master-Slave setup?
> 
> thanks,
> Pete
> 
> 

-- 
View this message in context: http://www.nabble.com/Fail-over-and-clustering-architecture-tp20404179p20409027.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message