TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

50 点作者 polvi超过 11 年前

8 条评论

vidarh超过 11 年前
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 未加载
nl超过 11 年前
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 未加载
bkirwi超过 11 年前
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 未加载
baghali超过 11 年前
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?
aabalkan超过 11 年前
Especially Windows support is cool news. I am following etcd project, it&#x27;s serious and can change server configuration world. Thanks Alex!
cenkalti超过 11 年前
Congratz guys, this is a big improvement from 0.2.0. Keep up good work!
ballard超过 11 年前
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 未加载
Touche超过 11 年前
I can&#x27;t figure out what etcd is. Any help?
评论 #7200264 未加载
评论 #7200246 未加载
评论 #7200022 未加载
评论 #7200026 未加载