Chapter 4. On service discovery Flashcards
1
Q
Name 4 concepts shared across all service discovery implementations:
A
- Service registration
- Client lookup of service address
- Information sharing
- Health monitoring
2
Q
What is a service ID ?
A
A service ID is a key that uniquely identifies a group of the same service instances.
3
Q
What annotation do you use to tell your application this is an Eureka service ?
A
@EnableEurekaServer
4
Q
How long will it take for an individual service to register with Eureka Server:
A
30 seconds. because Eureka requires three consecutive heartbeat pings from the service spaced 10 seconds apart before it will say the service is ready for use