In this lesson We will get started with a Java Microservices Concept called Service Discovery and Service Registration. When we work on distributed systems / Microservices architecture, we deal with so many servers. It’s very difficult to know the server information as they are getting maintained by containers and servers are created and destroyed dynamically. It’s a bad Microservices practice to hardcode server urls in our code. The best thing we can do to introduce a discovery server and making our Microservices client to that. The Microservices automatically registered themselves with a discovery server during start up and discovery server maintains their information inside a server registry.
When a client Microservices wants to communicate to another service , it ask the discovery service to discover and get the service url of the desired Microservices and dispatch a call. It’s also very important to understand that here the client itself is doing the service discovery and hence it’s called a client side service discovery.
In a client side service discovery, the client once discovered the available instances of a destined Microservices ,it’s takes help of a client side load balancer to call the destined Microservices in a load balanced way .
In this lesson we will learn about the concepts of Service Discovery and Registration and in the next session we will implement the same using Spring Cloud Eureka server and spring boot.
Time Stamp
——————
00:00:00 - Challenges of Microservices
00:03:27 - Network calls/Time Latency
00:07:28 - Don’t Hardcode URL
00:09:09 - Traditional Load Balancer
00:13:08 - Disadvantages of a traditional load balancer
00:16:28 - Hero Entry - Discovery Server
00:20:06 - Server side Service Discovery
00:21:28 - Client Side Service Discovery
00:31:36 - How Service Discovery and Registration Works Internally?
00:34:09 - Caching and Failure
00:35:55 - Netflix / Spring Cloud Eureka - Next
00:39:07 - QNA on Discovery Server and Service Registration
#JavaMicroservices #SpringBoot #SpringCloud
In this series of Sessions we will learn to create Microservices using spring boot and We will Implement spring cloud to resolve the known challenges during MS development.
This course will get you started with Microservices, for in-depth Microservices hands-on you can check out the below paid course : Course Name : Spring Boot Advanced + Microservices Bootcamp (Running Batch)Mode : Live / Self-Paced
https://www.seleniumexpress.com/courses/spring-boot-adv-microservices-bootcamprunning-batch/
#Microservices #SpringBoot #SpringCloud #java
For more free / paid courses visit
www.seleniumexpress.com
LINKS AND FREE LEARNING RESOURCES
========
Watch my new mock interview series for java developers
https://youtu.be/yX2w-Sof95s
Watch Spring boot Hot topics
https://youtu.be/CUQWZHjuq-w
Java Interview / Question and Answer series
https://youtu.be/Y1uGGTrBYKw
Explain spring Bean Lifecycle
https://youtu.be/hUYGGqoXEPc
spring core
https://www.youtube.com/watch?v=r2Q0Jzl2qMQ&list=PL3NrzZBjk6m-nYX072dSaGfyCJ59Q5TEi
spring mvc
https://www.youtube.com/watch?v=zCHrZdJODg4&list=PL3NrzZBjk6m-OSeL3DRMD_ISa0u-9c1l1
spring mvc intermediate
https://www.youtube.com/watch?v=40YaLHbrwrY&list=PL3NrzZBjk6m_2jw8sC0BkEwSPFHxgQDWr
Spring JDBC
https://www.youtube.com/watch?v=5j_vh1b9dV8&list=PL3NrzZBjk6m-rYTKze-5Y5RvU8eykal4j
spring live project
https://www.youtube.com/watch?v=m_b_FwDjAXM&list=PL3NrzZBjk6m-9CVPueDLLermojwtfuW_f
SPRING SECURITY COURSE[NEW]
https://youtu.be/NMNLozLGT1s
For more courses visit
https://www.seleniumexpress.com
Any time you are getting stuck with issues, Feel free to ask for support.
You can send mail to [email protected]
you can ping me on my Facebook page
https://www.facebook.com/seleniumexpress
Make sure to join my private Facebook page (Ask me here)
“SeleniumExpress - Support"
https://www.facebook.com/groups/187000222361579/
you can ask for support in my website forum
https://www.seleniumexpress.com
Subscribe to my youtube channel
https://www.youtube.com/channel/UCpUYkSDJpHug-vfC5S-NXRA?sub_confirmation=1
Follow me on Insta
https://www.instagram.com/selenium_express/