<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body smarttemplateinserted="true" bgcolor="#FFFFFF" text="#000000">
<div id="smartTemplate4-quoteHeader">
<div><b>From: </b>Andrew Beekhof <a class="moz-txt-link-rfc2396E" href="mailto:andrew@beekhof.net"><andrew@beekhof.net></a></div>
<div><b>Sent: </b> 2014-06-21 21:40:44 EDT </div>
<div><b>To: </b>The Pacemaker cluster resource manager
<a class="moz-txt-link-rfc2396E" href="mailto:pacemaker@oss.clusterlabs.org"><pacemaker@oss.clusterlabs.org></a></div>
<div><b>Subject: </b>Re: [Pacemaker] Alternative communication
engine to corosync (etcd/consul/zookeeper/doozerd)</div>
<br>
</div>
<blockquote
cite="mid:211ADCDE-CB99-493B-B01F-10175AB0EE44@beekhof.net"
type="cite">
<pre wrap="">
IF someone else implemented such a thing I would be happy to look at including support for it.
But knowing what I do about the "joy" that went into writing CPG, there is no way that someone is going to be me.
</pre>
<blockquote type="cite">
<blockquote type="cite">
<blockquote type="cite">
<pre wrap="">I think pacemaker might be able to use a key/value store natively.
</pre>
</blockquote>
</blockquote>
<pre wrap="">But I wouldn't even bother with hacking a KVS into something like CPG if it's not needed. I would do it such that the CIB is stored as keys and values natively. I would even think this is more efficient. I'm not sure how the CIB is transmitted between nodes, but I think it easiest to just set a single key when you want to update something like a resource's last-rc-change value.
</pre>
</blockquote>
<pre wrap="">
CPG is used for a lot more that just keeping the CIB in sync.
I did look at some other KVP stores late last year for the CIB, but I was able to get O(2) speedup without it.</pre>
</blockquote>
<br>
Does this mean you had something working, even just partially? If
so, do you still have that code around?<br>
I might be interested in taking a look at this, and having a
starting point would be helpful.<br>
<br>
-Patrick<br>
</body>
</html>