Business Studies, asked by aruko6925, 9 months ago

How can one ensure high availability of service discovery solution so that services can be easily discovered even in the event of any failure scenarios?

Answers

Answered by Anonymous
1

Answer:

Service discovery is how applications and (micro)services locate each other on a network. Service discovery implementations include both: a central server (or servers) that maintain a global view of addresses and. clients that connect to the central server to update and retrieve addresses.

Answered by smartbrainz
0

How can one ensure high availability of service discovery solution so that services can be easily discovered even in the event of any failure scenarios. (i) service registry information exchange among clusters. (ii) service clients caching the service registry information

ANSWER:  service registry information exchange among clusters.

Explanation:

  • The unique name (URL) of each micro-service is used to determine its location. Wherever your micro-service is running, it has to be addressable. Things can go wrong quickly if you worry about which machine runs a specific micro-service. Like DNS solves a URL to a specific device, the service requires a unique name so it can be discovered in its current area.
  • Micro-services require addressable names to differentiate them from the infrastructure on which they work. It ensures that there is an overlap between the way the service is delivered and the way it is discovered, since a database register has to be in place. For the same way, when a computer fails, the registry must be able to show where the service is operating.
  • The registry is a vital component of the discovery of services. This is a database that includes service instance network locations. A service list needs to be readily accessible and up to date. A cache can be rendered for clients from the service registry network locations. Yet this information is inevitably obsolete, so consumers can't identify instances of service. A service registry comprises therefore of a cluster of servers that are compatible with a replication protocol  to maintain consistency.
  • In some micro-service deployment environments, referred to as  clusters, service discovery is builtin. For instance, an Azure Container Service with Kubernetes (AKS) environment is able to handle service instance registration as well as de-registration. It also runs a proxy on each cluster host which enacts  the role of server-side discovery route
Similar questions