I’m not sure if I’m looking at this the wrong way. Stats is not my forte. I have 4 requests in a test; Each pair performs a given query that hits our ElasticSearch server; one of them goes through HAProxy, the other hits the ElasticSearch server directly.
When I look at the report I’m seeing that while the mean times are different, the reqs/sec remain the same across all similar requests.
Here’s a screenshot of the report.
There’s six requests in there (actual names vary a bit):
ElasticSearch Query 1 (through HAProxy)
ElasticSearch Query 1 (direct)
ElasticSearch Query 2 (through HAProxy)
ElasticSearch Query 2 (direct)
oam_logout… redirect 1
If we take a look at the first two we can see that the mean for the first is 1898, for the second it is 3062 (it takes about twice as long to get a response, no?). I’d expect the reqs/sec to be around half for the second one, and yet they are both exactly 5.031. The same goes for the other pair (which is a completely different ES query).
Is this a bug? Or am I misunderstanding the stats?