Hier nun der versprochene Benchmark meines VPS. Einmal mit Apache und das Gleiche nochmal mit dem Nginx.
Der Geschwindigkeitsvorteil ist klar zu sehen (Bedenke: Es war eine kleine Datei, daher sind die Werte generell recht klein). Auch das arbeiten auf den Systemen auf meinem Server fühlt sich deutlich performanter an. Hat sich also gelohnt
Apache
Document Path: /test.html
Document Length: 169 bytes
Concurrency Level: 5
Time taken for tests: 19.938 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 463000 bytes
HTML transferred: 169000 bytes
Requests per second: 50.16 [#/sec] (mean)
Time per request: 99.690 [ms] (mean)
Time per request: 19.938 [ms] (mean, across all concurrent requests)
Transfer rate: 22.68 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 45 49 2.3 49 75
Processing: 47 50 3.5 50 84
Waiting: 47 50 3.4 49 84
Total: 93 100 4.5 98 141
Percentage of the requests served within a certain time (ms)
50% 98
66% 100
75% 100
80% 101
90% 103
95% 109
98% 113
99% 120
100% 141 (longest request)
Nginx
Document Path: /test.html
Document Length: 169 bytes
Concurrency Level: 5
Time taken for tests: 19.090 seconds
Complete requests: 1000
Failed requests: 0
Write errors: 0
Total transferred: 379000 bytes
HTML transferred: 169000 bytes
Requests per second: 52.38 [#/sec] (mean)
Time per request: 95.450 [ms] (mean)
Time per request: 19.090 [ms] (mean, across all concurrent requests)
Transfer rate: 19.39 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 45 47 1.4 46 65
Processing: 47 49 1.2 49 60
Waiting: 47 49 1.2 48 60
Total: 92 95 2.0 95 115
Percentage of the requests served within a certain time (ms)
50% 95
66% 95
75% 96
80% 96
90% 97
95% 98
98% 100
99% 102
100% 115 (longest request)

