Hello,

I posted a question
<http://stackoverflow.com/questions/35205591/using-zookeeper-to-manage-tasks-which-are-in-process-or-have-been-processed>
to stack overflow.  Perhaps sending it to the zookeeper mailing list would
have been better.  Any help/comments would be greatly appreciated.

After reading more about zookeeper, I suspect that one edge case which
could cause problems is if a worker loses connection after creating an
ephemeral node under started but before the client receives
acknowledgement.  That worker would not know whether it was actually
created or not, and in the meantime some other worker could create the same
node.  That would violate exactly once processing.  Perhaps uuid's could
help.  Maybe i could just restart the worker entirely if it loses
connection.  Anyways that is a pretty nasty edge case and I really don't
need anything bulletproof.

Thank you

Reply via email to