Building Microservices with Spring Cloud

What is service discovery and why we use it?

  • A way for service to register it self
  • A way for a service to deregister it self
  • A way for a client to find other services
  • A way to check the health of a service and remove unhealthy instances


Spring Cloud Netflix Eureka

ref : 

https://github.com/Netflix/eureka/wiki

http://cloud.spring.io/spring-cloud-static/Brixton.SR7/#_spring_cloud_netflix

http://cloud.spring.io/spring-cloud-netflix/single/spring-cloud-netflix.html

原文地址:https://www.cnblogs.com/shouwangzhe-/p/7795612.html