V
V
Vitaly Sorokin2016-12-24 12:57:58
Virtualization
Vitaly Sorokin, 2016-12-24 12:57:58

How to ensure equal distribution of server resources between sites?

Good day everyone. I ask for help in finding the optimal solution for the following problem:
There is a server (E3-1230v5/32gb/2Tb. Installed: PHP/MySQL/Apache/Debian-8). It hosts a dozen sites, each site has its own MySQL database (from 3-4gb in size), but the same php code is used. Each site has 2 to 15 concurrent users.
Usually the load on the server is acceptable, and everything works quickly for everyone. But, about once every 3 days, very resource-intensive operations lasting 10-15 minutes are launched on one of the sites. Then the remaining copies of the sites simply fall down.
The question is how to ensure a guaranteed server resource for everyone? Albeit at the cost of reducing the overall performance and increasing the time of complex operations.
I myself thought about creating a dozen virtual servers, but it seems to me that keeping a dozen copies of the OS and scripts is somehow not very ... Perhaps there is a better solution?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Axian Ltd., 2016-12-24
@SorokinWS

Why don't Monsieurs like containers, LXC for example?

M
mamayama, 2017-03-16
@mamayama

10 sites with 2-15 users at the same time?
E3-1230v5/32gb/2Tb?
Brakes?
Flog the programmer with rods.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question