Open alechenninger opened 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.
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.