[ANN] Leader Election library using Zookeeper

98 views
Skip to first unread message

Rich Youngkin

unread,
Aug 10, 2016, 10:53:27 AM8/10/16
to golang-nuts
Hi all,

go-leaderelection (https://github.com/Comcast/go-leaderelection) provides the capability for a set of distributed processes to compete for leadership for a shared resource. It is implemented using Zookeeper for the underlying support. It provides a simple, asynchronous, interface. goroutines or processes can create an election, compete for becoming the leader for a resource, asynchronously wait to become a resource, resign leadership, and delete an election resource.

Of note is the project's dependence on go-zookeeper (https://github.com/samuel/go-zookeeperand goint (https://github.com/Comcast/goint). This, along with other usage information, is covered in the README.

As this is my first golang project I'd appreciate feedback, improvements, bug reports, etc.

Cheers,
Rich
Reply all
Reply to author
Forward
0 new messages