<tt><font size=2>Changbin Liu <changbin.liu@gmail.com> wrote on
02/05/2013 05:32:05 PM:<br>
<br>
> Subject: Re: [openstack-dev] Nova workflow management update</font></tt>
<br><tt><font size=2>> <br>
> Hi Joshua, </font></tt>
<br><tt><font size=2>> <br>
> Just to share some thoughts:</font></tt>
<br><tt><font size=2>[...]<br>
</font></tt>
<br><tt><font size=2>Using ZK makes a lot of sense.. The problem is that
making ZooKeeper a mandatory component to support even basic workflow management
might be an issue. So, the approach which seems to make most sense is to
define abstract internal interfaces for the various capabilities that ZK
can provide (distributed locking, leader election, etc), and then have
one or more implementations (one of which might be based on ZK). This is
the approach that has been taken for the membership service (service group
monitoring APIs) -- introducing the flexibility to use ZK backend, but
keeping the default to be DB-backed.</font></tt>
<br>
<br><tt><font size=2>Regards,</font></tt>
<br><tt><font size=2>Alex</font></tt>
<br>
<br><tt><font size=2>P.S. thinking about this.. would it be possible to
implement ZK APIs over a DB? with some limitations, perhaps..</font></tt>