一、目前市面上比较流行的注册中心有Zoopeeker、consul、Eureka、etcd。
1. Zoopeeker:Apache ZooKeeper is an effort to develop and maintain an open-source server which enables highly reliable distributed coordination. Zoopeeper致力于开发和维护一个开源服务器,提供实现高效且可靠的分布式协调服务。是Hadoop和Hbase的重要组件。
需要了解更多可以参看wiki: https://cwiki.apache.org/confluence/display/ZOOKEEPER/Index
2. Consul:Consul is a tool for service discovery and configuration. Consul is distributed, highly available, and extremely scalable. Consul是用于服务发现和配置的工具,它是分布式的、高可用的、易扩展的。代码托管:https://github.com/hashicorp/consul
3. Eureka:Eureka is a REST based service that is primarily used in the AWS cloud for locating services for the purpose of load balancing and failover of middle-tier servers. Eureka是一种基于REST的服务,主要使用在AWS云(亚马逊云)上定位服务,以实现中间层服务器的负载均衡和故障转移。
Wiki: https://github.com/Netflix/eureka/wiki/Eureka-at-a-glance
4. Etcd:etcd is a distributed reliable key-value store for the most critical data of a distributed system. etcd为分布式系统最关键数据提供可靠的分布式键值存储。(使用在CoreOS系统和k8s容器上)
更多了解:https://github.com/coreos/etcd
这几个服务发现中心对比:
分布式领域CAP<