Full Stack Development with JHipster - Second Edition
by Deepu K Sasidharan, Sendil Kumar Nellaiyapen
Service discovery
The service registry has details of the services available and acts as the database. But in order to find out where the required service is and which services to connect, we need to have service discovery. So, service discovery is the end-to-end process and the service registry is the data store used by that process. They both work hand in hand.
When the pricing service wants to communicate with the demand service, it needs to know the network location of the demand service. In the case of traditional architecture, this is a fixed physical address, but in the microservices world, this is a dynamic address that is assigned and updated dynamically.
The pricing service (client) will have to locate the demand service in the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access