Member-only story
Spring Boot Microservices — Developing Service Discovery
In this article, we will learn an important patten in Microservices Architecture — Service Discovery. We will create a sample implementation based on Spring Boot, Spring Cloud, Netflix Eureka Server, and Netflix Zuul. This is the third part of our Spring Boot Microservices series.
Many technologies are available to implement service discovery pattern in the Microservices world. This includes Netflix Eureka, Kubernetes, Istio, Consul and many other frameworks. With this article, I am trying to develop the understanding of this pattern with the basic implementation of it. The article is divided in following sections —
- The need for Service Discovery
- Client-side Service Discovery
- Server-side Service Discovery
- Comparison and Next Steps
The need for Service Discovery
Microservices are dynamic in nature. This means multiple instances of a single Microservice will be co-existing. Most probably your instances will either have a different IP address or a different port or both. And the number of…