D
D
durovchpoknet2013-06-04 17:25:01
Software testing
durovchpoknet, 2013-06-04 17:25:01

How can you estimate server resources for a particular site under load?

Good afternoon! The question is next. There is a site that is currently on the development server (Apache + MySQL). Choose a virtual hosting for it. There is an expected number of visitors after launch. How can you estimate the required memory and processor performance of the hosting server for a given number of visitors?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexey Ashurok, 2013-06-04
@AotD

Empirically)
1) We raise the virtual machine, we hang monitoring on it (or just look at htop%)),
2) We create the appearance of site traffic (we go through the pages, we behave like an ordinary user),
3) We collect access Logs,
4) We feed them to Apache JMeter, Yandex Tank or any other tool for load testing,
5) We look at how many parrots the system gives out.
6) Change the parameters of the vitrualka in the right direction,
7) Repeat steps 4-6 until a satisfactory result is obtained.

M
Max, 2013-06-04
@AloneCoder

pws49.awardspace.com/internet/menasce/6.htm
Read more about load testing

V
Vlad Zhivotnev, 2013-06-04
@inkvizitor68sl

github.com/yandex-load/yandex-tank
It's convenient to shoot on the same Selectel (it will probably take 300 rubles for all testing) - you can turn the resources up / down.
Just do not forget that disk IO is also a resource, and it is now much less than CPU / memory.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question