Hallo,
ich habe da leider noch ein Problem.
Ich nehme den apache mit port 80 und den ngnix auf Port 83
Durch einen htaccess Eintrag bekomme ich ein moved 301 von domain.ltd auf
http://www.domain.ltd ab diesem Moment greift der apache wieder ein. Ich bräuchte also auch eine Rewrite Rule alleine für die Bilder.
Davon aber mal ab , bin mit ngnix am spielen und apache habe ich im moment auf der Test Umgebung als mod_php laufen. Aber ein Benachmark sagt mir im moment das der Apache schneller ist.
Code:
Benchmarking localhost (be patient)
Completed 100 requests
Completed 200 requests
Finished 250 requests
Server Software: nginx/0.7.62
Server Hostname: localhost
Server Port: 83
Document Path: /albums/userpics/10002/Bahnhof%20Niederlande.jpg
Document Length: 661435 bytes
Concurrency Level: 15
Time taken for tests: 1.237 seconds
Complete requests: 250
Failed requests: 0
Write errors: 0
Total transferred: 165421750 bytes
HTML transferred: 165358750 bytes
Requests per second: 202.07 [#/sec] (mean)
Time per request: 74.230 [ms] (mean)
Time per request: 4.949 [ms] (mean, across all concurrent requests)
Transfer rate: 130576.50 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 1 3.8 0 17
Processing: 9 72 21.5 67 156
Waiting: 1 60 20.4 56 131
Total: 25 73 21.5 69 156
Percentage of the requests served within a certain time (ms)
50% 69
66% 82
75% 88
80% 88
90% 89
95% 109
98% 143
99% 150
100% 156 (longest request)[/quote]
[quote]Benchmarking localhost (be patient)
Completed 100 requests
Completed 200 requests
Finished 250 requests
Server Software: Apache
Server Hostname: localhost
Server Port: 80
Document Path: /albums/userpics/10002/Bahnhof%20Niederlande.jpg
Document Length: 661435 bytes
Concurrency Level: 15
Time taken for tests: 0.608 seconds
Complete requests: 250
Failed requests: 0
Write errors: 0
Total transferred: 167552749 bytes
HTML transferred: 167490019 bytes
Requests per second: 411.06 [#/sec] (mean)
Time per request: 36.491 [ms] (mean)
Time per request: 2.433 [ms] (mean, across all concurrent requests)
Transfer rate: 269038.52 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 4 0.7 4 6
Processing: 20 31 9.8 25 47
Waiting: 1 11 9.8 4 25
Total: 24 35 10.2 28 51
Percentage of the requests served within a certain time (ms)
50% 28
66% 45
75% 46
80% 46
90% 47
95% 48
98% 50
99% 50
100% 51 (longest request)