6 ms·
Don't use Pound for load balancing
- michelson01 19y agountil fair proxy balancer is production ready (http://www.brainspl.at/articles/2007/11/09/a-fair-proxy-balancer-for-nginx-and-mongrel http://www.brainspl.at/articles/2007/11/09/a-fair-proxy-bala...), i really like nginx in front of haproxy in front of the mongrels nginx => haproxy => mongrels
- staunch 19y agoDoesn't hashing on a cookie from each server give you fairness? http://wiki.codemongers.com/NginxHttpUpstreamRequestHashModule http://wiki.codemongers.com/NginxHttpUpstreamRequestHashModu...
- michelson01 19y agoi prefer a proxy balancer that is smart enough to know when the back-end servers (mongrels in this case) are busy or not, and smart enough that it doesn't send requests to back-end servers that are down (i'm looking at you, apache mod_proxy_balancer)
- deleted 19y ago[deleted]
- cstejerean 19y agoI'm not entirely certain I buy the argument that software which has lower CPU and memory utilization on average is better (on the server). The server is sitting there with all the ram and CPU and 2% or 20% doesn't make a difference if there is nothing else to take advantage of that other 98 to 80%. The only thing that matters is the ability to handle peaks (and being reliable). You want server software that is optimized around the worst case scenario (unless you want to run your software on servers with little resources in which case it's the other way around). So if nginx can handle higher loads than pound, it's a better load balancer. But if it keeps my servers at 2% most of the time but does worse under high loads then it's no good. Now I wouldn't use Pound either for load balancing and I believe nginx should be better, but the data in this article doesn't really support that argument.
- emmett 19y agoOf course the evidence is far from conclusive without more data. But Pound has had terrible performance so far, and based on what data I have nginx is an order of magnitude more efficient.
- nickb 19y agoEmmett, what tool did you use to collect the data and make the graph?
- vegai 19y agoDoes anyone have experience in using Swiftiply in a production environment?
- mwmanning 19y agoI've been really happy using apache2 in front of a mongrel cluster. Apache serves up static files and load balances requests to the mongrels. Can anyone give me a good reason why I should be using something other than apache on a production server?