O'Reilly logo

TypeScript Microservices by Parth Ghiya

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Key points for Eureka

After this exercise on Eureka service registry and discovery, let's take a look at some salient points on Eureka:

  • Eureka consists of a server component and a client-side component. The server component is the one that all microservices communicate with. They register their availability by constantly sending out heartbeats. The consuming services also use server components for discovering services.
  • When a microservice is bootstrapped using our Eureka service, it reaches out to the Eureka server and broadcasts its existence with contract details. After registration, the service endpoint sends heartbeat requests every 30 seconds to renew its lease period. If a service endpoint fails to do so a certain number of times, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required