P
P
PAJCH2015-12-11 16:24:06
Computer networks
PAJCH, 2015-12-11 16:24:06

Does the rps time depend on the cores of the machine?

Hello, I recently tested the time of simultaneous requests to the server (the server is on nodejs, used clustering), on a 4-core computer with 8 GB of RAM, it was able to process 2.5k rps / sec, on a 1-core computer with 1 GB of RAM, only 0.5 rps/sec. I don't have a chance to test it on a 20 core computer with 64gb of ram yet, would like to hear your answer, can I assume that with such a computer I can handle about 20k rps/sec? thanks in advance

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vlad Zhivotnev, 2015-12-11
@PAJCH

> can I assume that with such a computer, I will be able to withstand about 20k rps / sec?
No.
The overhead for spreading requests after a certain number can grow exponentially, as a result, it is quite possible that you will not be able to squeeze out more than a certain number, even if you have 128 cores and 1T of memory in one piece of hardware.
+ on numbers in the region of 10k+ requests for anything, you already need to carefully configure the system for the load profile, so with the same settings you will not get a figure of 20k.
+ you can get problems with IOPS (it will not be much more on the server, unless you tested on sata, but a server with ssd), with the number of descriptors and other dregs.
Such a calculation in load testing works only within 2-3 times the difference in hardware, but not when the difference goes up to 1.5 orders of magnitude.

A
Alexander Wolf, 2015-12-11
@mannaro

nodeJS is generally single-threaded, what are you talking about?

H
HoHsi, 2015-12-11
@HoHsi

Why do you need such tricks? Install Nginx load-balancer and some node backs. So scaling is easier, and should come out cheaper.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question