TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Etcd 0.3.0 – Improved Cluster Discovery, API Enhancements and Windows Support

50 pointsby polviover 11 years ago

8 comments

vidarhover 11 years ago
The discovery mechanism looks clumsy to me.<p>There&#x27;s no way we&#x27;d rely on a public discovery service, for example. If we&#x27;re going to hardcode configuration information - such as the URL of a discovery service that may or may not be up or reachable, we might as well hardcode the addresses of a few peers.<p>And running a second etcd cluster to bring up the main one seems pointless. Either it&#x27;s turtles all the way down, or you then need to hardcode config information for the second cluster, in which case it serves little purpose.<p>I&#x27;d rather have a mechanism where each peer takes a list of possible peers and tries to connect, with a method for deciding when there is quorum to elect an initial leader and start allowing writes (that&#x27;s easy enough by introducing a config option to decide if a peer is &quot;blessed&quot; to be part of the initial leadership election, and how many blessed peers must be connected to have quorum - just needs to be enough to form a majority of blessed peers to prevent more than one subset from electing a leader before they manage to connect)<p>Am I missing something?
评论 #7200744 未加载
评论 #7200685 未加载
评论 #7200672 未加载
评论 #7272324 未加载
nlover 11 years ago
Discovery looks interesting. Can it be used for a client to discover a cluster?<p>I&#x27;ve been digging into Docker link containers a bit.<p>I&#x27;m not entirely comfortable with how they work,and I&#x27;m not really sure why. The only thing I can put my finger on is that I feel like discovery is a separate concern to deployment. But at the same time they are so closely linked o can understand why Docker needs to tackle it.<p>Is there a way etcd can work better with Docker links? Maybe it could automatically read&#x2F;write Docker published ENV variables or something? Though I don&#x27;t think that will quite work across physical machines without some additional work.
评论 #7200377 未加载
bkirwiover 11 years ago
I&#x27;m curious to know more about the garbage collection of stale peers.<p>- AFAIK, etcd is built on RAFT, which relies on a &#x27;joint majority&#x27; method of transitioning cluster membership. Are there any issues forming agreement on what the new membership should be when it&#x27;s unclear what nodes are still supposed to be part of the cluster? - In the land of ZooKeeper, cluster configurations are typically very very stable, so tracking membership takes very little information. Is etcd targeted to more dynamic environments where the garbage generated by entering and leaving nodes is significant?
评论 #7200384 未加载
baghaliover 11 years ago
Has anyone checked out serf <a href="http://www.serfdom.io/" rel="nofollow">http:&#x2F;&#x2F;www.serfdom.io&#x2F;</a> if yes what are the pros and cons of etcd and serf?
aabalkanover 11 years ago
Especially Windows support is cool news. I am following etcd project, it&#x27;s serious and can change server configuration world. Thanks Alex!
cenkaltiover 11 years ago
Congratz guys, this is a big improvement from 0.2.0. Keep up good work!
ballardover 11 years ago
This is a pure marketing story pushing a bad solution.<p>Hiera, a simple hierarchal property distribution system using a backend of Zookeeper plus puppet or chef is far superior. Etcd is the PHP of configuration management.
评论 #7200562 未加载
评论 #7200577 未加载
Toucheover 11 years ago
I can&#x27;t figure out what etcd is. Any help?
评论 #7200264 未加载
评论 #7200246 未加载
评论 #7200022 未加载
评论 #7200026 未加载