docker_practice/etcd/intro.md

26 lines
1.6 KiB
Go
Raw Permalink Normal View History

# etcd
2014-12-31 09:11:09 +00:00
![](./_images/etcd_logo.png)
2014-12-31 09:11:09 +00:00
2017-12-03 10:53:35 +00:00
`etcd` `CoreOS` 2013 6 `key-value` `Go` `CoreOS` `etcd`
2014-12-31 09:11:09 +00:00
2019-08-31 14:57:43 +00:00
`etcd` [github.com/etcd-io/etcd](https://github.com/etcd-io/etcd) 进行维护。
2014-12-31 09:11:09 +00:00
2019-01-06 02:15:13 +00:00
[Apache ZooKeeper](https://zookeeper.apache.org/) 项目和 [doozer](https://github.com/ha/doozerd) 项目的启发,`etcd` 在设计的时候重点考虑了下面四个要素:
2014-12-31 09:11:09 +00:00
2017-12-03 10:53:35 +00:00
* `API` ([gRPC](https://github.com/grpc/grpc))
2014-12-31 09:11:09 +00:00
2017-12-03 05:57:02 +00:00
* `HTTPS` 访
* `10 k/s`
* `Raft`
*Apache ZooKeeper *
*doozer *
*[Raft](https://raft.github.io/) 是一套通过选举主节点来实现分布式系统一致性的算法,相比于大名鼎鼎的 Paxos 算法,它的过程更容易被人理解,由 Stanford 大学的 Diego Ongaro 和 John Ousterhout 提出。更多细节可以参考 [raftconsensus.github.io](http://raftconsensus.github.io)。*
使 `etcd` `etcd`