Hi all, I am currently working on implementing a vote based locking protocol which can be used to acquire a lock on shared data items. According to the design[1] it uses CRDT's to distribute the lock data to other nodes and use vote give up for prevent deadlocks.
You can test the current implentation using [2] and the code [3] [1] https://docs.google.com/document/d/1sKbDs3aLcJxjKeEjXVRt9BnI1zKIPQTDN6RkDL_jEZc/edit?usp=sharing [2] https://github.com/Mirage20/incubator-gossip/blob/GOSSIP-75/gossip-examples/src/main/java/org/apache/gossip/examples/StandAloneVoteBasedLock.java [3] https://github.com/apache/incubator-gossip/pull/62/files#diff-77c0648e95f1585d6dbe79c840a30e1c Any feedback and suggestions are appreciated. Thanks, Mirage *Mirage Abeysekara* Undergraduate Computer Science and Engineering University of Moratuwa Twitter: https://twitter.com/MiRAGECreator GooglePlus: https://plus.google.com/u/0/+MirageAbeysekara
