A
A
Alexander2022-04-12 07:53:31
Server equipment
Alexander, 2022-04-12 07:53:31

What is the best hardware for a busy web server?

We have a loaded web server (4-5k requests per second).
Bundle: php-fpm (3500 static workers), ngnix, memchached, redis + mysql for writing and 2 replicas for reading.
Recommend the processors from the list for the highest performance:

2 x Intel® Xeon® SP Gold (2pcs)
Intel® Xeon® W-2295
Intel® Xeon® W-2145

Currently AMD EPYC 7502 does not perform very well (heavily loaded), rather high LA.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
Nikolai Savelyev, 2022-04-12
@AgentSmith

For loaded services, hardware is not so important, architecture is important.
Iron is vertical scaling and it always has limitations that everyone faces in six months, a year or two. However, this question of yours is proof of that.
It is necessary to focus on horizontal scaling, so as not to depend on the characteristics of iron.
In other words, there should be many inexpensive (weak) servers, not one expensive and powerful one.
Personally, this approach allows me to keep a load of ~ 24000 requests per second on ten cheap servers.
If the load increases, then I will buy 2-5-10 more cheap servers instead of thinking about the characteristics of the hardware

E
edo1h, 2022-04-12
@edo1h

It's not worth looking at LA at all.
If the page generation time suits, then everything is fine (but keep in mind that you do not have a power reserve in case of an influx of users, unsuccessful updates by programmers, etc.).
If not satisfied, increase the number of cores. You can increase the number of cores (it doesn't matter, intel or amd), but it's better to look towards horizontal scaling (increasing the number of servers). This makes it easier to provide fault tolerance, a further increase in performance.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question