M
M
Maratunis2021-02-17 08:08:44
Apache HTTP Server
Maratunis, 2021-02-17 08:08:44

How to select resources in apache webserver for a specific number of users?

Good day,
Please help me how to determine the resource selection mechanism for the apache web server.
There is a VMware virtual machine and the Ubuntu server 18 distribution kit on it, php7.1, Mysql, and apache itself are deployed on Ubuntu, the statistics are 100 users visiting the site at a time and 8000 sessions per day.
The question is, is there any mechanism for calculating resources for this statistics? how much memory and cpu does 100users take at the same time and what resource does 1 session take? after which we can analyze according to the growth to what parameters we should come.
I will also add that the site is an announcement site.
Thank you in advance!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dr. Bacon, 2021-02-17
@bacon

After all, each site has a very different load on the server from one user, so you can only simulate, you can start with ab, but this is very one-sided, it is best to describe real scenarios using Locust and the like.

S
SKEPTIC, 2021-02-17
@pro100chel

Conduct testing. But stop....
You already have a virtual machine and 100 users on the site at the same time, why not look at htop?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question