liveBook · Manning

Service registry

A service registry is a directory or database that maintains information about service instances and their network locations so clients can discover them.

How 2 Manning books explain it

Spring Microservices in Action

A repository of service-instance identifiers and location information that clients can consult to discover services.

How it is used
Supports service discovery by recording instance locations for clients to retrieve and cache.
How deep it goes
Explains Eureka server and client configuration, identifiers, caching, and startup timing while omitting the full service implementation.
Examples
Uses licensing and organization services, two organization instances, and a standalone Eureka server to illustrate discovery and registration.
What you can do after
Apply it via Spring Cloud Netflix Eureka to register Spring Boot services and configure registry access.

Read how Spring Microservices in Action explains service registry →

Microservices Patterns, Second Edition

A service registry is a database that records the network locations of service instances.

How it is used
Enables services to find available instances without relying on hardcoded network locations.
How deep it goes
Defines the registry and request flow, then contrasts application-level discovery with platform-provided discovery.
Examples
Uses service instances registering locations, clients querying for instances, and a platform router balancing requests.
What you can do after
Understand how clients find service instances through an application-level registry or platform-provided discovery.

Read how Microservices Patterns, Second Edition explains service registry →

Also covered in

What to know first

Related concepts

Questions about service registry

What is service registry?

A service registry is a directory or database that maintains information about service instances and their network locations so clients can discover them.

Which Manning books explain service registry?

Spring Microservices in Action and Microservices Patterns, Second Edition.

What should I know before learning service registry?

Manning books that teach service registry usually introduce microservice architecture first.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.