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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a service ID ?

A

A service ID is a key that uniquely identifies a group of the same service instances.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What annotation do you use to tell your application this is an Eureka service ?

A

@EnableEurekaServer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly