A
A
Anatoly2019-02-08 20:32:01
Nginx
Anatoly, 2019-02-08 20:32:01

How many requests per second does your Nginx (ApacheBench) process?

I'm wondering, has anyone tested their server for the maximum number of requests that nginx can handle?
I tested my site ( the domain was replaced with a fake one ):
using the http protocol, the contents of the php file:

<?php $domain = $_SERVER['SERVER_NAME']; $ip = gethostbyname($domain); echo $ip; ?>

ab -n 100 -c 10 http://mysite.com/index.php
Received:
Requests per second: 288.75 [#/sec] (mean)
tested jpg image upload - 2172 bytes: 297.43/sec
then tested the same on https, got: php - 75.82/sec and jpg - 76.90/sec
I wanted to ask, is this normal ?
I watched a video tutorial about FastCGI Cache, so it has 2600 / sec there, but I can’t do much, the hardware is certainly more powerful, but I still think it’s necessary that at least 1500 be on http.
PS. hardware: my home "virtual" allocated 2 cores, i7-3770T processor

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
ky0, 2019-02-08
@ky0

Naked nginx is useless to test - performance, if you, of course, do not have a site on pure HTML, will run into dynamic content generation: PHP, database, that's all.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question