educative.io

Balancing the load between cache servers

To resolve this issue, any busy server in one location can redirect a client to a less busy server in the same cache location. We can use dynamic HTTP redirections for this scenario.

what does it mean to redirect a client to a less busy server in the same cache location? can’t we just use replication?

Hey @Dewey_Munoz

It means that if a server is busy and some more servers are present in the same cache and have relatively less traffic, the client will be redirected towards those. The technique we use is dynamic HTTP redirections. There is always more than one way to solve a problem, you can use any solution like replication, but each will have its own few drawbacks that will make it suitable for the problem or not.

Shaheryaar Kamal | Technical Content Engineer