HI,
well i hope i made the title correct but anyway, i am using Nginx for along time now.
No advance configs, just as a plain webserver.
and running it with Wordpress, but WP takes abit more resources then some other CMS'ses and can be slowing things down.
Last week i learned about Varnish, but i am abit puzzled about it.
I use Varnish with Nginx with multiple backend servers because i have more websites then 1.
Don't get me wrong it's working fine but after a week of reading Fora's and Wiki's i got puzzled if i am doing it right?
because if i read this Tutorial:
http://www.online-tutorials.net/internet-netzwerk/nginx/tutorials-t-29-300.html
and the follow up
http://www.online-tutorials.net/internet-netzwerk/varnish-caching-proxy/tutorials-t-29-299.html
They are suggesting that they use it like this:
Nginx -> Varnish -> Nginx (Why?)
i am using it like this: Varnish -> Nginx
and if i read the Varnish Wiki, they suggest that you put Varnish upfront, like i did.
Why would i want it to do it three ways if i can achieve it like i did?
this is a result with AB (apache-utils):
Server Software:
Server Hostname: ********
Server Port: 80
Document Path: /categorieen/blog/
Document Length: 37066 bytes
Concurrency Level: 10
Time taken for tests: 25.781 seconds
Complete requests: 140000
Failed requests: 0
Write errors: 0
Keep-Alive requests: 140000
Total transferred: 5246943484 bytes
HTML transferred: 5189280138 bytes
Requests per second: 5430.38 [#/sec] (mean)
Time per request: 1.841 [ms] (mean)
Time per request: 0.184 [ms] (mean, across all concurrent requests)
Transfer rate: 198750.56 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.0 0 1
Processing: 0 1 10.3 1 2232
Waiting: 0 0 10.3 0 2232
Total: 0 1 10.3 1 2233
Percentage of the requests served within a certain time (ms)
50% 1
66% 1
75% 1
80% 1
90% 1
95% 1
98% 1
99% 1
100% 2233 (longest request)
can i make it even quicker?