etcd 2.0 发布,高可用的 Key/Value 存储系统

jopen 9年前


etcd 是一个分布式,高可用的 Key/Value 存储系统,主要用于分享配置和服务发现。etcd 的灵感来自于 ZooKeeper 和 Doozer,侧重于:

  • 简单:支持 curl 方式的用户 API (HTTP+JSON)

  • 安全:可选 SSL 客户端证书认证

  • 快速:单实例可达每秒 1000 次写操作

  • 可靠:使用 Raft 实现分布式

etcd 2.0 发布了,这是官方首个主要的稳定版本,与上一个 0.4.6 版本比较,该版本值得关注的改进有:

  • 内部协议的改进以避免意外的错误配置

  • etcdctl backup 命令用于轻松的从集群失败中恢复

  • etcdctl member list/add/remove 命令用于轻松管理集群

  • 改进磁盘存储的安全性,使用 CRC 校验和只追加的行为

  • An improved Raft consensus implementation already used in other projects like CockroachDB

  • More rigorous and faster running tests of the underlying Raft implementation, covering all state machine and cases explained in the original Raft white paper in 1.5 seconds

  • Additional administrator focused documentation explaining common scenarios

  • Official IANA assigned ports for etcd TCP 2379/2380


项目地址:https://github.com/coreos/etcd