[openstack-dev] [oslo][devstack][all] ZooKeeper vs etcd for Tooz/DLM

Joshua Harlow harlowja at fastmail.com
Tue Mar 14 02:15:25 UTC 2017

Clint Byrum wrote:
> Excerpts from Fox, Kevin M's message of 2017-03-14 00:09:55 +0000:
>> With my operator hat on, I would like to use the etcd backend, as I'm already paying the cost of maintaining etcd clusters as part of Kubernetes. Adding Zookeeper is a lot more work.
> It would probably be a good idea to put etcd in as a plugin and make
> sure it is tested in the gate. IIRC nobody has requested the one thing
> ZK can do that none of the others can (fair locking), but it's likely
> there are bugs in both drivers since IIRC neither are enabled in any
> gate.

Pretty sure etcd can do fair locking now :-P

Or reading 
it seems like we should be able to.

Honestly the APIs of both etcd and zookeeper seem pretty equivalent; 
etcd is a little more k/v oriented (and has key ttls, to a degree) but 
the rest seems nearly identical (which isn't a bad thing).

Etcd I think is also switching to grpc sometime in the future (afaik); 
that feature is in alpha/?beta?/experimental right now.

> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

More information about the OpenStack-dev mailing list