You are not logged in.

#1 2011-02-27 21:23:42

nighthawk
Member
Registered: 2009-11-29
Posts: 20

lighttpd vs nginx

I been hearing that lighttpd is faster then nginx but i also heard that lighttpd has a lot of security leaks and memory leaks,

was just wondering what you guys think is the better solution for a medium traffic server.

Offline

#2 2011-03-14 13:32:22

ehlo
Member
From: England
Registered: 2010-04-04
Posts: 66

Re: lighttpd vs nginx

I've heard the opposite, that nginx outperforms lighttpd but it probably depends on the benchmark used, how well the reviewer optimises each bit of software etc.

I've been using lighttpd for quite a few years and haven't experienced the memory leaks that many people have been talking about however my site is very low traffic so this may be why?
I'm considering switching to nginx though as lighttpd development seems to have slowed a lot recently (since the founder took a job at MySQL). From what I've heard nginx makes configuring things easier than lighttpd too.

Offline

#3 2011-03-14 17:20:03

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: lighttpd vs nginx

nginx is generally easier to use, and have much better performance when it comes to eg proxying. Not that it really matter on a medium traffic server. (depending on your definition of medium traffic)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#4 2011-03-14 21:43:56

iFSS
Member
Registered: 2011-01-29
Posts: 33

Re: lighttpd vs nginx

I'd say nginx, as it is a lot easier to configure and use.

If you are really concerned about using only the most performant server, then set up a test server with your site on it and use a load testing tool such as JMeter to compare them.

Offline

#5 2011-03-14 22:56:01

chris-kun
Member
From: SF Bay Area
Registered: 2010-09-07
Posts: 235
Website

Re: lighttpd vs nginx

people really think nginx is easier? I've used both and much prefer lighttpd's config file tongue


[home page] -- [code / configs]

"Once you go Arch, you must remain there for life or else Allan will track you down and break you." -- Bregol

Offline

#6 2011-03-15 11:52:49

iFSS
Member
Registered: 2011-01-29
Posts: 33

Re: lighttpd vs nginx

chris-kun wrote:

people really think nginx is easier? I've used both and much prefer lighttpd's config file tongue

Maybe my knowledge of Lighttpd is outdated, I last used it ~6 years ago when I set it up with FastCGI for PHP, and it was a pain in the rear to set up & get working right. It was worth it in the end though, it really helped the server cope under load compared to Apache.

On the other hand, setting up nginx with PHP-FPM is a doddle, imho. Each to their own smile

Offline

Board footer

Powered by FluxBB