Server Side Load Balancing
This edge server can be a hardware load balancer or a software load balancer.
Client Side Load Balancing
Basically client side load balancing came into the picture with the micro service architecture.
According to the micro service architecture there are a lot of loosely coupled services and inter service communication is required at the service level to expose a multiple entity involvement feature to the outside. Service discovery registering multiple instances from each service and load balancing among those instances and happening on the client side.
Suppose Service A (client side) wants to access Service B (server side). Service B has three instances and register all at the discover server (Eureka). Service A has enabled the Ribbon client which allows to do the client side load balancing. It's getting the available Service B instances from the discovery server and redirect the traffic by staying from the client side.
That's the concept of client side load balancing.
No comments:
Post a Comment