esbtools / event-handler

Notification in, document out.
GNU General Public License v3.0
3 stars 6 forks source link

Consider implementing distributed synchronization using ZooKeeper #10

Open alechenninger opened 8 years ago

alechenninger commented 8 years ago

Unsurprisingly, trying to work out all of the concurrent cases (especially WRT error scenarios) is non trivial with lightblue since it is a non-transactional, non-session-based data store. @kahowell mentioned looking at ZooKeeper and giving it another look, it seems like it might be a perfect fit. Worth some more research.

alechenninger commented 8 years ago

Did some research (asked Burak, did some reading). ZooKeeper lock patterns aren't too different from what we're already doing using the lightblue lock feature, though they would make it so we wouldn't have to rely on timeouts or polling for rollback. Should be easy to add later with the current interfaces.