Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

etcd service watcher #35

Open
tomfitzhenry opened this issue Jan 2, 2014 · 12 comments
Open

etcd service watcher #35

tomfitzhenry opened this issue Jan 2, 2014 · 12 comments

Comments

@tomfitzhenry
Copy link
Contributor

https://github.com/coreos/etcd is "a highly-available key value store for shared configuration and service discovery", similar to zookeeper.

etcd has a REST API, and there are already Ruby libraries ( https://github.com/ranjib/etcd-ruby , https://github.com/iconara/etcd-rb ) to varying levels of maturity/completeness.

@igor47
Copy link
Collaborator

igor47 commented Jan 14, 2014

hi! i would definitely be interested in having etcd watchers for synapse as well as etcd publisher in nerve. the nerve part would require some refactoring since we only support a single type of reporter ATM. let me know how i can help!

@bketelsen
Copy link

+1

@SEJeff
Copy link

SEJeff commented Jan 26, 2014

https://github.com/ranjib/etcd-ruby supports the v2 etcd protocol. I too would be interested in this.

@arohter
Copy link

arohter commented Feb 10, 2014

+1

2 similar comments
@cromulus
Copy link

+1

@cromulus
Copy link

+1

@ChristianBusch
Copy link

I am interested in this feature as well.

@calebbrown
Copy link

+1

I see PR #58 implements this.

@Hades32
Copy link

Hades32 commented Jul 5, 2015

@jolynch
Copy link
Collaborator

jolynch commented Jul 6, 2015

I'm also working with @bobtfish to get this merged into Yelp's synapse fork over at Yelp#3 and we're going to be merging that back into upstream once we get some more production experience with it.

@jolynch
Copy link
Collaborator

jolynch commented Oct 4, 2015

As a status update, I'm working on merging #58 with @bobtfish, but we've run into some fun issues with etcd 2.0 version incompatibility and how etcd seems to not implement proper ephemeral nodes ...

I think that even if we did merge the etcd reporter I'm concerned about scalability until they have proper ephemeral nodes. I'm worried smartstack can't scale too far on etcd since you have O(#servers * #services) writes and O(#servers * #services * a lot) reads compared to zookeepers O(#changes) writes and O(#changes) reads from zookeeper. We'll probably end up merging it, but I probably wouldn't recommend it in a deployment of more than 1k servers.

@bitglue
Copy link

bitglue commented Oct 20, 2015

etcd ephemeral nodes: etcd-io/etcd#1232

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests