On Tue, Jan 25, 2011 at 12:01 AM, Phillip B Oldham <[email protected] > wrote:
> I suppose it would be left up to the client then to test whether a > failed response actually completed... adding a fair amount of work to > the client. > Yes. It does. And if you don't design the system well, then you may not even be able to tell if it has completed. > > Would zookeeper be able to "buffer" requests? For instance, if there > were two nodes behind it and they were both momentarily unresponsive, > could zookeeper (& the client) keep the connection active and wait for > a node to signal itself available and complete the request? > ZK isn't really involved in your request. It is merely helping you coordinate things. It is completely reasonable to keep "last completed transaction id" in ZK, but that doesn't really solve the problem. You don't want to wait forever, after all.
