MyBB Community Forums

Full Version: [MyBB Performance] Apache vs Lighttpd vs Nginx
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(2010-01-09, 11:59 PM)duyen Wrote: [ -> ]Lighttpd all the way. For the record, YouTube and Wikipedia use it.

Well from what i have found when digging into things i found that youtube uses apache unless they proxy to it.

On topic

I have had nginx on my localhost server now for about 2 months before then i was using lighttpd and i have found that nginx uses less memory but as for speed lighttpd was a little faster. but on my localhost i would rather memory over the smallest increase in speed. (EDIT: on the speed thing that could change for the better or the worst under loads on nginx)

That's how my setup works any way it may differ from setup to setup.

and i use apache 2.2 on my windows computer and i am so thinking about changing it to nginx as they say they have windows binary's.

Sorry i can not comment on how they would go in a live environment.
Correction: They use Lighttpd for their videos; sorry.
(2010-01-10, 01:21 AM)duyen Wrote: [ -> ]Correction: They use Lighttpd for their videos; sorry.

okay I did not look into that I only looked into there webpage
I've been trying Hiawatha, i got to get MyBB on that server one of these days.
So, less resources with Nginx, Lighttpd or Hiawatha? New server http://www.hiawatha-webserver.org/
lighttpd has the best performance in terms of serving static content. but is known for having vulnerabilities and using more cpu on dynamic apps.

[Image: cpu_utilization.png]

However nginx consumes the least memory, has a broader developer base and constantly being updated which means exploits are extremely rare, and when they are found they're patched pretty much instantly.

However if you wish to keep the feature-rich apache, and have the performance of nginx:

Use nginx as a reverse proxy & load balancer to apache. Plenty of tuts online explaining how to configure this setup.

Conclusively the best performance would be derived from;

CDN + Lighttpd (to serve static content, js/css etc.) -> nginx load balanced solution
Pages: 1 2