Answer the question
In order to leave comments, you need to log in
What hardware to choose for a web server (nginx, php-fpm, mariaDB)?
Recommend iron for Web server ( nginx , php-fpm , mariaDB ) Bitrix engine, 10000 unique users per day are expected.
We exclude VDS because the customer wants everything on his hardware.
Thanks in advance.
Answer the question
In order to leave comments, you need to log in
You will have about 11 requests per second (+ robots, + backups, + cron), this is a good load. Take xeon 2630v3 (two are better), and 16/32GB of memory (depending on the content), and a couple of disks in raid1, or even four in raid5 (1 under hotspare). As for the controller for disks, you can not bother and make softraid. you lose a little, and the gain in terms of recovery is enormous. As for memory, take as much as you can. You will want different caches for acceleration (mysql, nginx, and in Bitrix), and this is good.
Take the server immediately with a margin, since in two or three years it will be easier to buy a new one than to buy memory or find a second percentage, it has been checked repeatedly!
Actually, I advise everyone to always buy according to the maximum budget, the project will grow, you will want more sites or some whistles, but just to take and add coke there may not be a possibility ...
PS. Even just, suddenly you want to install another CMS, because most likely you want to raise it next to it and make new.mydomain.com and old.mydomain.com. (my case)
PPS. Brought it up
Although, of course, I turned down something, on 4 disks that raid10, that raid5 with hotspare - the same capacity, I apologize, I repent and correct ... Raid10 and nothing more!
Take any server with a minimum configuration, but expandable. Anyway, 10k will not happen right away, but it will take some time, and then monitor the load.
Buy used HP DL360 G5..G7 on ebay. With 2x4 cores at 3 GHz (this has a big impact on PHP performance), memory can be purchased here (G5 supports up to 64 GB if you flash a fresh bios and follow the manuals when buying memory). You can buy a server for 5-20 thousand, delivery is another 20 thousand. Compared to what you can buy in Russia for this money, you will get an airplane. Disks can be bought NOT HP, but server - economy in 2 times, 4 pieces are obligatory. RAID controller is necessarily native. Collect disks in RAID0 + 1 - do not be greedy with space, RAID0 + 1 has the highest throughput with the lowest overhead.
If you install CentOS - do not forget to disable selinux - again, a lot of overhead when establishing each connection.
If the client doesn’t peck for money - forget ebay, buy any decent vendor (HP, Lenovo) - you won’t have problems with warranty and performance, just don’t get fooled by AMD processors - PHP is very dumb on them. And in general, as practice has shown, it is the clock frequency that is critical for PHP, and not the volume of the L1 / L2 cache.
For MySQL - the amount of RAM is critical in the first place. Therefore, it is highly desirable not less than 32 GB.
Well, hint to the client that he needs not one, but two servers - it is impossible to exclude accidents, you can only minimize their consequences.
PS 3 thousand uniques with PHPBB I have a regular desktop on i3. So your load is absolutely not cosmic, do not worry.
history-one-highload. We accept 50-60K uniks (170-200K hits per day) and this is not the limit. Hardware is important, but it is also important how the server software is configured and the site code is written. And in order for the server not to be dumb on max, you need to put the caches in memory. Even if the cache is written to disk, then let it be a ram disk.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question