Feature | Consul | zookeeper | etcd | euerka |
---|---|---|---|---|
语言 | GO | JAVA | GO | JAVA |
官网 | https://www.consul.io | https://zookeeper.apache.org | https://coreos.com/etcd | |
github | https://github.com/hashicorp/consul | https://github.com/apache/zookeeper | https://github.com/etcd-io/etcd | https://github.com/Netflix/eureka |
服务健康检查 | 服务状态,内存,硬盘等 | (弱)长连接,keepalive | 连接心跳 | 可配支持 |
多数据中心 | 支持 | — | — | — |
kv存储服务 | 支持 | 支持 | 支持 | — |
一致性 | raft | paxos | raft | — |
cap | cp | cp | cp | ap |
使用接口(多语言能力) | 支持http和dns | 客户端 | http/grpc | http(sidecar) |
watch支持 | 全量/支持long polling | 支持 | 支持 long polling | 支持 long polling/大部分增量 |
自身监控 | metrics | — | metrics | metrics |
安全 | acl /https | acl | https支持(弱) | — |
spring cloud集成 | 已支持 | 已支持 | 已支持 | 已支持 |
网友评论