Answer the question
In order to leave comments, you need to log in
How do I calculate dedicated server resources?
1 - script (Eats vps-ku 512 mb / 2.5 GHz and about 1 MB / s of the Internet. Called 2-3 times per second. Downloads a 300 kb file with curl, processes json_decode and INSERT about 80 records.)
2 - script ( Consumes about 5 MB / s of the Internet. Records are 2.5 times more than in the first case. Downloads about 120 files with curl.)
3 - script (SELECT about 200 lines from the database and processes them in pairwise comparison)
At least some subjective grade. Thanks in advance!
Answer the question
In order to leave comments, you need to log in
VPS on different hardware can work.
The easiest way is to run scripts on real hardware with a known config and measure the system load on it.
Until the calculation goes to hundreds per second - do not ask such questions at all
tobut : Maybe the problem is not in the performance of your VPS, but in something else? For example, what are the restrictions on tariffs or the remote host does not give all the files, etc. what in logs when the script chokes? You run it on apache, maybe it chokes on a timeout? Run the script from the console.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question