Score:0

Estimate requests per second on an Apache server

bf flag
Tom

How can I get the average requests per second on an Apache 2.4 server based on the logs?

I'm trying to use k6 to load test a new server, a new cloud provider, with new hardware, but I don't know how to estimate how many users there are today.

Romeo Ninov avatar
in flag
Try with jmeter to make the load test. And use Summary results, graph results to analyze the results
ezra-s avatar
ru flag
A "user" can send dozens of hits, and some other users can send several more or just a few, users is generally not a good way to measure unless you have them all authenticating and anonymous hits are not the ones you are after, then you can check the logs or log the users authenticating and filter them out from there. As general statistics though, you can get the amount of hits per second or minute you get, and [mod_status](https://httpd.apache.org/docs/2.4/mod/mod_status.html) gives you that more.
Score:0
cn flag

You can use AWStats for apache logs. You can also use Matomo (Piwik) and Google Analytics for create user oriented statistics.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.