docker_practice/etcd/intro.md

26 lines
1.6 KiB
Go
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

## etcd
![](_images/etcd_logo.png)
`etcd` `CoreOS` 2013 6 `key-value` `Go` `CoreOS` `etcd`
`etcd` [github.com/etcd-io/etcd](https://github.com/etcd-io/etcd) 进行维护。
[Apache ZooKeeper](https://zookeeper.apache.org/) 项目和 [doozer](https://github.com/ha/doozerd) 项目的启发,`etcd` 在设计的时候重点考虑了下面四个要素:
* `API` ([gRPC](https://github.com/grpc/grpc))
* `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`