Etcd v3.0.0 發布,一個分布式環境下的 key/value 存儲服務

jopen 8年前發布 | 22K 次閱讀 key/value 集群 CoreOS Kubernetes etcd

Etcd 是一個應用在分布式環境下的 key/value 存儲服務。利用 etcd 的特性,應用程序可以在集群中共享信息、配置或作服務發現,Etcd 會在集群的各個節點中復制這些數據并保證這些數據始終正確。Etcd 無論是在 CoreOS 還是 Kubernetes 體系中都是不可或缺的一環。

服務發現示意圖

更新日志

值得注意的增強功能

  • 第3版API解決到ETCD V2可擴展性,以新的存儲引擎有關的許多問題,以及新的API完全支持多版本并發控制(MVCC)。 V3的所有API調用都通過GRPC和HTTP/2服務。

Some highlights of etcd 3.0 server improvements:

  • Improved latency and throughput
    • Less protocol overhead via gRPC API layer
    • Better disk utilization in write ahead log
  • New storage backend: lower memory overhead per key
  • Automatic TLS configuration

Some highlights of the new stable etcd3 API:

  • Flat binary keyspace: no key-value hierarchy / directories
    • Support key get and watch by prefix
    • Support key get and watch by interval
  • Multiversion keyspace: access historical revisions of keys
  • Transactions: combine multiple requests into one operation
  • Leases: a single TTL for sets of keys
  • Maintenance/Alarm: protect etcd from accidental overutilization with storage quotas

Some highlights of new etcdctl:

  • Mirror: mirror etcd to another data center
  • Lock: mutex on top of etcd
  • Elect: leader election
  • Snapshot: stores point-in-time state of etcd backend
  • Endpoint: health checking

Experimental Features/APIs:

  • v3 Auth API
  • etcd gateway subcommand

 

下載

 

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!