5 ms·
If you want to ask thing you do not know very much, you should be more humble. 1.etcd is not a key-value store like redis or memcached, whose aim is to provide
by ideal0227 13y ago
If you want to ask thing you do not know very much, you should be more humble.
1.etcd is not a key-value store like redis or memcached, whose aim is to provide high performance. etcd is aim at providing high reliable storage for small amount consistent data across multiple machines.
2.1 We have cmdclt tool, which will not return redundant information.
2.2 I do not think you know exactly what index is.
3.raft is a distributed consensus protocol, which help with fault tolerance and consistency. For sharing configuration using etcd, we can assume the conf server will be robust. The essential goal is to remove spof.
4.It is not. It is hard for our usage. Because it is HTTPS, .
- peterwwillis 13y agoStill looks overly complex. As far as I can tell, the true purpose of the thing isn't even put down on paper. "A highly-available key value store for shared configuration and service discovery" Could be mDNS! The reliability can in a way be provided by CurveCP. So again, i'm a little mystified as to why you need to implement Raft or produce this tool to accomplish what's been in use for over 10 years. It does seem more complicated to use, so if that was your goal then kudos :)
- fizx 13y agoThe direct competitor here is apache zookeeper, which this is probably simpler than. If you care, you should do some research, because there are smart people excited about this. I'd start by looking at which software uses zookeeper and why. You may also find the following wiki articles useful: http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect http://en.wikipedia.org/wiki/Serializability http://en.wikipedia.org/wiki/Serializability
- peterwwillis 13y agoZookeeper is a kludge derived from a different kludge because nobody could continue to maintain it. The description and example use of this project is definitely simpler than, but it no way encompasses (or describes) the half-dozen different uses of Zookeeper. Can't decide how to respond to your ironic meta-insult, so here's a bunny with a pancake on it's head: http://4.bp.blogspot.com/_0B0VEm_uRcA/TPLhoaUdLEI/AAAAAAAAAAM/FZGrZtvy_eU/s320/bunny.jpg http://4.bp.blogspot.com/_0B0VEm_uRcA/TPLhoaUdLEI/AAAAAAAAAA...
- ideal0227 13y agoPeople usually do not need to worry about implementation difficulties, unless they want to contribute. If you want to, I am happy to talk with you more about details. I do not think it is difficult to use, unless people do not want to look at the docs. If you go through the docs, and still cannot figure out how to use I would like to help. If you do not want to know the context, then raft/zk/etcd will probably remain mystified to you for a long time.