Answer the question
In order to leave comments, you need to log in
Online stores on Bitrix. Two VPS weak or one powerful?
Hello.
We have two online stores running on one VPS server (16 GB memory, 4 cores x 2.4 percent, 100 GB disk). Each site has 5-6 thousand uniques a day, it seems not a lot. The OS is CentOS 6.9 (bitrix-env). Caching was in memcache. But the server did not have enough memory for stable fast work under growing load. Now caching is based on files and the 50GB remaining from the disk is eaten up for cache in just 3-4 days. More precisely, 40 GB are eaten up in 3-4 days, and then slowly but surely everything else is eaten up (from a week to a month), then clearing the cache and all over again.
In this regard, we decided to either increase server resources or buy two medium servers so that Mysql works on the second server, and apache, nginx, memcache on the first one.
What is better, one server, for example 24GB memory, 8 cores, 240 disk or two 10GB servers, 4 cores, 80 disk?
Answer the question
In order to leave comments, you need to log in
1. frequency priority per core than the number of cores! Best of all, the I9 Bitrix server gives up to 400 parrots there.
2. mysql 1 select does on 1 processor as a consequence your pocket calculator in which you listen to music will make it faster than a 128 core 2.4GHz processor.
3. Cluster on the VM, are you sure that you can actually pull it?
4. NVme
5. file works faster than memcache with ssd disks, especially NVme
6. Internet connection width? 100 megabits? it's 8 megabytes and then in theory!
7. wrote here https://klondike-studio.ru/standards/trebovaniya-k...
8. When connecting to the database via IP, the TCP / IP stack is used, unlike localhost, and in addition there is also a ping. As a result, the database through the network is slower, sometimes noticeably slower.
If your database does not fit on 16GB, is it possible to reduce it? It just doesn't seem logical.
PS. You can take two, but the memory should not be reduced, but increased so that the database and cache enter!
P.S.S. Two are worth taking when the question is no longer performance, but reliability!
You have some showers of strange decisions
There is not enough disk, and you are expanding, don’t understand that Stupidly
increase the disk, God’s word, all adequate providers can do it now
one
more is better, perhaps a physical server is better - tests need to be done
I already understood that it is better to take 1 powerful server - than 2 medium ones ...
Now there are just several online stores - if you make sites on different servers (medium ones), then one will be more likely to be idle, and the second will be under a huge load.
And if everything lies on one, then you can not be afraid for what will happen - usually the load on one, then on the other increases and just the resources do not disappear ..
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question