activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Budworth" <dbudwo...@gmail.com>
Subject Re: question about Master/Slave shared-nothing and synchronization
Date Fri, 04 May 2007 19:38:33 GMT
true, but I was shooting for zero message loss and reasonably high
performance with no single points of failure

shared db will put us right back at single point of failure(db) that we're
looking to avoid with MasterSlave

On 5/4/07, Hiram Chirino <hiram@hiramchirino.com> wrote:
>
> If you use a shared DB or file system you should be able to failover
> and fail back without a problem.
>
> On 5/4/07, David Budworth <dbudworth@gmail.com> wrote:
> > I mistakenly hijacked another thread yesterday when asking this, so I'll
> > repost it as it's own thread.
> >
> > If I understand the wiki and comments I've read on this list recently,
> AMQ
> > has no state synchronizer.
> >
> > Meaning that if I have Master / Slave and the Master dies, i can't
> restart
> > it without stopping the slave, copying it's database over to the master
> then
> > restarting both.
> >
> > The part I'm confused about is how does work when you have clients
> > attempting to send messages?
> >
> > If I start up the master and clients reconnect and start sending
> messages,
> > then start the slave, what happens?
> >
> > Do I need the clients to wait until both master and slave are both up
> before
> > it starts sending?
> >
> > Or does Master -> Slave state sync work fine, it's just that you can't
> do it
> > the other way?
> >
> > Reason I'm asking is that we currently use SonicMQ for their CAA feature
> > which allows transparent failover / failback which is great.
> >
> > We would like to use AMQ for some things that have special requirements
> we
> > don't get from SMQ but at the same time we don't want to give up the HA
> > aspects of having the clients not have to be stopped/started in the
> event we
> > have a broker failure and want to eventually get back to normal
> Master/Slave
> > environment.
> >
> > Thanks,
> > -David
> >
>
>
> --
> Regards,
> Hiram
>
> Blog: http://hiramchirino.com
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message