You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by scs2mwp <sc...@hotmail.co.uk> on 2016/12/20 16:11:29 UTC
LevelDB vs KahaDB for master/slave Zookeeper setup
Hi all,
I need to implement a master/slave AMQ configuration using Zookeeper. Should
I now use a Replicated KahaDB store instead of LevelDB since LevelDB has
deprecated?
Regards,
Mike
--
View this message in context: http://activemq.2283324.n4.nabble.com/LevelDB-vs-KahaDB-for-master-slave-Zookeeper-setup-tp4720633.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: LevelDB vs KahaDB for master/slave Zookeeper setup
Posted by Tim Bain <tb...@alumni.duke.edu>.
And the same applies to LevelDB within ActiveMQ 5.x; it's deprecated
because no one was willing to spend time fixing bugs and providing support
on the mailing list. If someone (or better, several people) were willing
to do that, it could be un-deprecated. But since the current reality is
that currently there's no one willing and able to offer meaningful support
and maintenance for it, we can't recommend that people use it unless they
understand that they may be doing their own troubleshooting if things don't
work as expected.
Tim
On Wed, Dec 21, 2016 at 10:51 AM, Christopher Shannon <
christopher.l.shannon@gmail.com> wrote:
> There are currently no plans to revisit KahaDB replication that I know of.
> But contributions are welcome so it's always possible someone could pick it
> up. At this point the main focus has become Artemis since that already
> supports replication.
>
> On Wed, Dec 21, 2016 at 12:22 PM, mlange <ml...@anwb.nl> wrote:
>
> > Another thing:
> >
> > If you need a master/slave configuration... You may want to check out
> > Apache
> > Artemis, which does "store replication"
> >
> >
> >
> > --
> > View this message in context: http://activemq.2283324.n4.nab
> > ble.com/LevelDB-vs-KahaDB-for-master-slave-Zookeeper-setup-t
> > p4720633p4720699.html
> > Sent from the ActiveMQ - User mailing list archive at Nabble.com.
> >
>
Re: LevelDB vs KahaDB for master/slave Zookeeper setup
Posted by Christopher Shannon <ch...@gmail.com>.
There are currently no plans to revisit KahaDB replication that I know of.
But contributions are welcome so it's always possible someone could pick it
up. At this point the main focus has become Artemis since that already
supports replication.
On Wed, Dec 21, 2016 at 12:22 PM, mlange <ml...@anwb.nl> wrote:
> Another thing:
>
> If you need a master/slave configuration... You may want to check out
> Apache
> Artemis, which does "store replication"
>
>
>
> --
> View this message in context: http://activemq.2283324.n4.nab
> ble.com/LevelDB-vs-KahaDB-for-master-slave-Zookeeper-setup-t
> p4720633p4720699.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>
Re: LevelDB vs KahaDB for master/slave Zookeeper setup
Posted by mlange <ml...@anwb.nl>.
Another thing:
If you need a master/slave configuration... You may want to check out Apache
Artemis, which does "store replication"
--
View this message in context: http://activemq.2283324.n4.nabble.com/LevelDB-vs-KahaDB-for-master-slave-Zookeeper-setup-tp4720633p4720699.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Re: LevelDB vs KahaDB for master/slave Zookeeper setup
Posted by mlange <ml...@anwb.nl>.
(Replicated)LevelDB has some issues, and is indeed deprecated.
KahaDB does not officially have a replicating version. There has been some
work on it, which was abandoned in favor of ReplicatedLevelDB... If and when
this will be revived is unknown.
Then to the statement:
I need to implement a master/slave AMQ configuration using Zookeeper.
In my opinion, you may state that you need to setup a master/slave AMQ
configuration. However, "using zookeeper" cannot be a requirement. While
Zookeeper is used in the ReplicatedLevelDB configuration, and is therefore a
requirement for an ActiveMQ configuration using ReplicatedLevelDB, does not
make it a requirement if this dependency falls away.
If you need a Master/Slave configuration of ActiveMQ, currently the only
supported way is using a shared store. This can be a JDBC connection to a
(highly available) database, or a KahaDB on a shared store.
On shared stores tehre are some good and some bad options; that's something
to determine. In my opinion, if you're able to, I'd suggest GlusterFS (that
is, if you're running on Linux) One thing to keep in mind is that you need
the filesystem able to lock a file. NFS allows this, samba does not
(afaik)... so not every type of storage sharing will work... you'll have to
dig a bit into that.
--
View this message in context: http://activemq.2283324.n4.nabble.com/LevelDB-vs-KahaDB-for-master-slave-Zookeeper-setup-tp4720633p4720698.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.