- Home
- Web Servers
Apache vs Nginx : Web Server Performance Deathmatch
- By WeilianH Kates
- Published 06/2/2008
- Web Servers
-
Rating:




Deathmatch may be an overstatement but here are the results from some performance benchmarking.
The Setup:
Server:
* CENTOS 5.1
* Dual 2.4GHz Xeon CPUs
* 4GB RAM
* RAID5 (4 x 15k disks)
* Server and test client were connected via a consumer grade 10/100 switch
......
Long live Apache; Why NginX is the next king of httpd - and Lighttpd needs a little more work
- By WeilianH Kates
- Published 06/2/2008
- Web Servers
-
Rating:




In short - while NginX remains to be proven to the masses, it clearly is working well for some, myself included. I intend to do some serious load testing on NginX on RHEL when I get a chance, I’m curious to see how it behaves under stress, particularly with the SSL module.
If you’re starting to look beyond Apache, for whatever reason (I can’t think of any other than memory and massive scalability), definitely consider giving NginX a closer look.
Nginx rewrite config for ArticleLive
- By Web Master
- Published 06/2/2008
- Web Servers
- Unrated
Nginx rewrite rules for ArticleLive:
if (!-e $request_filename) {
rewrite ^/categories(.*)$ /categories.php?$1 last;
rewrite ^/articles(.*)$ /articles.php?$1 last;
rewrite ^/pages(.*)$ /pages.php?$1 last;
rewrite ^/blogs(.*)$ /blogs.php?$1 last;
rewrite ^/news(.*)$ /news.php?$1 last;
rewrite ^/authors(.*)$ /authors.php?$1 last;
rewrite ^/search(.*)$ /search.php?$1 last;
rewrite ^/articlerss(.*)$ /articlerss.php?$1 last;
rewrite ^/contact(.*)$ /contact.php?$1 last;
rewrite ^/blogrss(.*)$ /blogrss.php?$1 last;
rewrite ^/newsrss(.*)$ /newsrss.php?$1 last;
break;
}
Web Servers