
08-26-2009, 12:00 AM
|
|
Web Hosting Guru
|
|
Join Date: Mar 2006
Posts: 264
|
|
Apache vs lighttpd vs nginx
What is the best free server software to use out of Apache/lighttpd/nginx?
Apache: Has it fixed the c10k problem of handling 10,000 simultaneous connections on a single server?
lighttpd: Not as big a developer base than Apache and has it fixed memory leak problems?
nginx: Pretty fast with caching but has problems with url rewriting?
Be interesting to know your opinions.
I need one that has no bugs and is fully compatible with php5, mysql, ssl, javascript, all web browsers.
|

08-26-2009, 12:37 AM
|
|
Your support partner
|
|
Join Date: Apr 2005
Location: Queen of Arabian Sea
Posts: 2,213
|
|
apache is still the majorly used and best supported web server software
|

08-26-2009, 12:44 AM
|
|
Junior Guru
|
|
Join Date: Apr 2006
Posts: 175
|
|
what about Cherokee HTTP Server?
|

08-26-2009, 01:01 AM
|
|
Web Hosting Master
|
|
Join Date: Nov 2007
Location: India
Posts: 841
|
|
nginx is the best from my point
|

08-26-2009, 01:14 AM
|
|
Virtually Flawless ;)
|
|
Join Date: Apr 2009
Location: USA / UK
Posts: 4,512
|
|
each of these servers is perfected for a specific task.
1) if you need .htaccess / .htpasswd, or if you need the features of mod_php, mod_perl, mod_layout, mod_whatever, or extended ssi, you'll want apache.
2) if all you need if static file serving, or if you want a really good reverse proxy to another http server, you'll want nginx.
3) if you need cgi/ssi/php, but don't need .htaccess / .htpasswd or any other apache-specific module, you'll want lighttpd.
4) if you need a simple web server that can do static and cgi, i'd suggest thttpd.
I use all 4 of the servers mentioned above for various things - nginx to protect apache from DoS attacks and handle ssl, lighttpd to handle simple sites that need php (and mod_secdownload) but nothing fancy beyond that, and thttpd to handle a site that has a few cgi and static files.
Also, I don't think apache has solved the c10k problem, and nginx doesn't have a rewrite problem afaik, and I'm pretty sure lighttpd doesn't leak memory anymore (at least the one in debian 5 doesn't seem to).
|

08-26-2009, 01:16 AM
|
|
Junior Guru
|
|
Join Date: Apr 2006
Posts: 175
|
|
are we able to use more than 1 or a server?
|

08-26-2009, 01:49 AM
|
|
Virtually Flawless ;)
|
|
Join Date: Apr 2009
Location: USA / UK
Posts: 4,512
|
|
Quote:
Originally Posted by kohkindachi
are we able to use more than 1 or a server?
|
yes you can use more than 1 httpd at a time - running on different ports and/or ip addresses.
|

08-26-2009, 01:54 AM
|
|
WHT Addict
|
|
Join Date: May 2009
Posts: 149
|
|
Try litespeed. It supports all feature apache has
|

08-26-2009, 03:28 AM
|
|
Web Hosting Master
|
|
Join Date: Nov 2007
Location: India
Posts: 841
|
|
Quote:
Originally Posted by 10gbUS
Try litespeed. It supports all feature apache has
|
but it $$ 
|

08-26-2009, 03:30 AM
|
|
CISSP, CISA
|
|
Join Date: Aug 2002
Location: Los Angeles, CA
Posts: 5,036
|
|
Quote:
Originally Posted by yajur
but it $$ 
|
There is a very good reason for this. The software is rock solid, the performance is outstanding, and it is a well rounded product handling all of the elements ramnet was discussing in one package.
|

08-26-2009, 03:35 AM
|
|
Web Hosting Master
|
|
Join Date: Nov 2007
Location: India
Posts: 841
|
|
Quote:
Originally Posted by IRCCo Jeff
There is a very good reason for this. The software is rock solid, the performance is outstanding, and it is a well rounded product handling all of the elements ramnet was discussing in one package.
|
Jeff i to tried litespeed webserver,in that i seen when i shifted from apache to litespeed i saw RAM useage is lowered from 60% to 12%then i installed nginx,where i saw the ram usage is gone to 40% but the server load is reduced from 2 to 0.50
totally litespeed will take some what load but the ram usage will be less in nginx the ram usage will be high but server load is lowered
|

08-26-2009, 10:29 AM
|
|
Support Facility
|
|
Join Date: Jun 2009
Posts: 2,318
|
|
Nginx and lighttpd are better for low-memory environments such as on VPS. Apache is good if you want a wide range of configuration options.
|

08-26-2009, 05:37 PM
|
|
Web Hosting Master
|
|
Join Date: Jan 2005
Posts: 2,099
|
|
Litespeed would be your best bet. A user reports that it handled 100,000 http requests per second. 10,000 connections doesn't even bring the server down.
http://www.litespeedtech.com/support...9&postcount=16
Read the whole thread.
|

08-26-2009, 09:54 PM
|
|
Web Hosting Guru
|
|
Join Date: Mar 2006
Posts: 264
|
|
do you have instructions on how to run nginx in front of apache to protect apache from dos attacks? And does this work with cpanel?
Quote:
Originally Posted by ramnet
each of these servers is perfected for a specific task.
1) if you need .htaccess / .htpasswd, or if you need the features of mod_php, mod_perl, mod_layout, mod_whatever, or extended ssi, you'll want apache.
2) if all you need if static file serving, or if you want a really good reverse proxy to another http server, you'll want nginx.
3) if you need cgi/ssi/php, but don't need .htaccess / .htpasswd or any other apache-specific module, you'll want lighttpd.
4) if you need a simple web server that can do static and cgi, i'd suggest thttpd.
I use all 4 of the servers mentioned above for various things - nginx to protect apache from DoS attacks and handle ssl, lighttpd to handle simple sites that need php (and mod_secdownload) but nothing fancy beyond that, and thttpd to handle a site that has a few cgi and static files.
Also, I don't think apache has solved the c10k problem, and nginx doesn't have a rewrite problem afaik, and I'm pretty sure lighttpd doesn't leak memory anymore (at least the one in debian 5 doesn't seem to).
|
|

08-26-2009, 10:03 PM
|
|
Greece
|
|
Join Date: Jan 2004
Location: Greece
Posts: 2,039
|
|
Quote:
Originally Posted by ryan14
lighttpd: Not as big a developer base than Apache and has it fixed memory leak problems?
|
My company uses lighttpd on more than 15 servers hosting more than 2.000 websites. If there were memory leak problems I am sure we would find them.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
| Postbit Selector |
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|
| Login: |
|
|
| Advertisement: |
|
|
| Web Hosting News: |
|
|
|