How can we evaluate the server resources for a specific site under load?

Good day! The next question. Is there a website that has that on the development server (Apache + MySQL). Choose shared hosting for it. Is the expected number of visitors after the launch. How can you estimate the required memory and processor performance of a server host for a given number of visitors?
October 3rd 19 at 02:55
3 answers
October 3rd 19 at 02:57
1) Raise the V-world, hang on her monitor (or just watch htop %) ),
2) Create visibility of website traffic (go through the pages behave as an ordinary user),
3) Collect access Logs,
4) Fed them in Apache JMeter, Yandex Tank or any other tool for load testing
5) Look how many parrots are issued by the system.
6) Change the parameters of vitrually in the right direction
7) Repeat steps 4-6 to obtain a satisfactory result.
Well, if the cost of the server divided by the number of parrots depressing:
In front of apache with nginx to deliver or even replace it with nginx
To devise a system of static page caching, or the same memcache to mysql not curled - Leann.Morar commented on October 3rd 19 at 03:00
October 3rd 19 at 02:59
Well read on the topic of load testing
October 3rd 19 at 03:01
Shooting conveniently at the same Selectel (all testing 300 rubles will go away, probably) — you can turn resources up and down.
Just don't forget that disk IO is also a resource, and it is now much less than CPU/memory.

Find more questions by tags System administrationHostingTesting software