educative.io

Educative

Load balancer between Application servers and database replication servers

We can add Load balancing layer at three places in our system 1) Between Clients and Application servers 2) Between Application servers and database replication servers and 3) Between Aggregation servers and Cache server.

What is the load balancer between Application servers and database replication servers? Is it just choosing between which slave to read data from?

Hi @Dewey_Munoz

Yes, you are correct. Here load balancer will choose which server has the least load and is best suited for the application server to read data from.