1.

What is client side and server side service discovery?

Answer»

Instead of clients directly connecting to load BALANCER, in this architectural pattern the client connects to the service registry and tries to fetch data or services from it.

Once it GETS all data, it does load balancing on its own and directly reaches out to the services it NEEDS to talk to.

This can have a benefit where there are multiple proxy layers and delays are happening due to the multilayer communication.

In server-side discovery, the proxy layer or API Gateway later tries to CONNECT to the service registry and makes a call to APPROPRIATE service afterward. Over here client connects to that proxy layer or API Gateway layer.



Discussion

No Comment Found