News for hackers. Stuff that matters.
Re:Distributed Locks with Consul and Golang by slap_shot on Wednesday December 28, 2016 @12:01PM (#13271798)
Great read. Did you look at etcd[0][1] when considering a distributed kv store/locking mechanism? If so, what were the pros/cons of each and what lead you to consul?

[0] https://github.com/coreos/etcd [1] https://github.com/coreos/etcd/tree/master/client

Re:Distributed Locks with Consul and Golang by mthenw on Wednesday December 28, 2016 @12:22PM (#13271955)
Thanks!

I was using Consul because we had that already deployed. After quick research looks like etcd client doesn't provide nice abstraction for creating dist locks. I found [1] and [2] though. Definitely it's doable with etcd.

[1] https://github.com/datawisesystems/etcd-lock [2] https://github.com/ORBAT/node-etcd-lock