![]() |
I've made a RPM for Nginx. This thing is really amazing, performance wise.
The lighty memory leaking is present only when you use PHP4, so who cares... The configuration is a little primitive... plus I had to patch the hell of build files to make it 100% compatible with CentOS 5.1. Still, the results are impressive. I'm going to do a deep analysis and let you guys know about my results. Let see how is the server load is on a web cluster with 5,000 hammering users... EDIT: This is an interesting read: http://hostingfu.com/article/nginx-v...or-a-small-vps |
I am now running my site on two very powerful servers, but before I bought these systems, I was running a dual Xeon DB server and six dual processor P-III front end servers. I started out using round-robin DNS. The DNS method is problematic because it has no real failover capability and it does not distribute traffic evenly. The first box in the list gets twice as much traffic as the middle boxes and the last box gets about 50% more. I used a common NFS share on the DB server for my images directory.
I next used Pound and it worked much better for me. I am now running an Astaro firewall, which has built-in load balancing capability, although I am not currently running multiple front-end boxes. Eric |
On most websites, and certainly on any vbulletin forum, the load on the webserver is never an issue. Almost any hardware can easily handle that.
The problem is almost always PHP. (Of course, MySQL load is also an issue but that is a different topic altogether.) Now, if only you can decouple PHP from the webserver (dont use mod_php, i feel FastCGI is best), you can use multiple servers for PHP processing. You just just need a webserver which can interface with multiple backend processes over TCP/IP. My experience with lighttpd for this has been absolutely fabulous. |
amcd, I used to be a fervent lighty user until recently, when I discovered nginx.
Then, I realized what I was missing all this time... I will NEVER go back to lighttpd. :) Isn't that a lot easier? Code:
upstream vbulletin { |
As much as I have learned over the years, it is always a bit humbling to come and hang out on a site like this and see how much I have left to learn. This is the problem with being self-taught and not networking with other geeks of a feather. I never know what I am missing out on.:D
|
Thanks for the info, Teck. I will try to install nginx on one of my smaller sites which I am going to revamp next week.
|
All times are GMT. The time now is 02:02 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|