>     - Zookeeper.  The issues here are similar to those for etcd.
>       Also, Zookeeper transactions don't seem to be isolated.
Zookeeper transactions can be isolated depending on what level of
isolation you need.
A setData on a node operation can contain a version, so that it fails
if that node has changed since the version. This means with a multi[1]
of setData operations, you can effectively get a snapshot isolation
level of isolation. For serializable, you could probably shoehorn it
in by rewriting all nodes that you've written.

Regarding the notification issue, it sounds like what you'd want is to
access the transaction log. ZooKeeper kinda does this with observer
nodes, where the transaction log is shipped to read only nodes to
scale out reads. OVN could do something similar where by each replica
tails the transaction log directly, and applies the updates to their
local copy. Note that the transaction log isn't officially exposed
right now, but it's easy to get at, since observers already do it.

-Ivan
[1] zookeeper term for transaction
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to