Building Microservices with Spring Cloud - Service discovery

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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Getting Started with Spring Microservices begins with an overview of the Spring Framework 5.0, its design patterns, and its guidelines that enable you to implement responsive microservices at scale. You will learn how to use GoF patterns in application design. You will understand the dependency injection pattern, which is the main principle behind the decoupling process of the Spring Framework and makes it easier to manage your code. Then, you will learn how to use proxy patterns in aspect-oriented programming and remoting. Moving on, you will understand the JDBC template patterns and their use in abstracting database access. After understanding the basics, you will move on to more advanced topics, such as reactive streams and concurrency. Written to the latest specifications of Spring that focuses on Reactive Programming, the Learning Path teaches you how to build modern, internet-scale Java applications in no time. Next, you will understand how Spring Boot is used to deploying serverless autonomous services by removing the need to have a heavyweight application server. You’ll also explore ways to deploy your microservices to Docker and managing them with Mesos. By the end of this Learning Path, you will have the clarity and confidence for implementing microservices using Spring Framework. This Learning Path includes content from the following Packt products: Spring 5 Microservices by Rajesh R V Spring 5 Design Patterns by Dinesh Rajput What you will learn Develop applications using dependency injection patterns Build web applications using traditional Spring MVC patterns Utilize the reactive programming pattern to build reactive web apps Learn concurrency and handle multiple connections inside a web server Use Spring Boot and Spring Cloud to develop microservices Leverage reactive programming to build cloud-native applications
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值