Answer the question
In order to leave comments, you need to log in
Load balancing?
Hello.
It is necessary to implement load balancing on file servers.
A few months ago, most of the files were transferred to one server with a gigabit channel. Now the entire load has rested on the speed of the channel ...
There are several more servers in stock on which the channel is idle.
The option to expand the channel on a loaded server is not profitable in terms of money.
It is also not possible to make a full mirror of the server.
It is possible to take the most downloaded files from server 1 and scatter them over other servers.
Can someone suggest how to organize this?
Answer the question
In order to leave comments, you need to log in
Usually servers have two networks, connect two servers via the second networks and make a ball between them, you will have, as it were, a copy of all content on the second server.
That is, expand the channel to 2 gigabits
The simplest and dumbest are static1.something.tld, static2.something.tld and the corresponding links in the application.
In general, they give everything themselves.
You take download statistics, choose the top one, copy it to other servers and distribute the most popular content from them.
Make two servers, and cram the links to the servers into an array. Randomly choose the 1st or the second server, it's not that difficult and the computational load is 0.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question