Re: HAProxy, NGINX and Rails anyone?

From: Willy Tarreau <>
Date: Wed, 30 Jul 2008 22:58:01 +0200

On Wed, Jul 30, 2008 at 10:46:41PM +0200, Redd Vinylene wrote:
> Is there any chance nginx' load balancing will ever be as good as haproxy?

There's no "good" or "bad". All are suited to some usages, and it largely depends which environment each product grows in.

Right now, I see nothing wrong with using nginx AND haproxy. Both are very complementary in fact, and both do certain things extremely well. From the reports we're starting to get, people seem to be very happy with nginx as a first level taking care of SSL, statics and probably other features, and haproxy immediately behind. Consider that you can use as many nginx boxes as you want at the front, doing the "stateless" work (SSL, static, etc...), all pointing to as many haproxy boxes as needed assuring the stateful part.

Anyway, I'm pretty sure that you'd have only one of each for most usages, even both on the same box, with a backup one for HA :-)

To be honnest, sometimes I don't get it with what people want. When they have product which do everything, they complain that they do everything bad or with a huge overhead. When they find products which do something well, they'd expect those products to become the same bloatware, finally doing everything bad too. Quite frankly, it's not much expensive to put two processes next to each other in a cheap 1U box to do all the dirty work for you when you have so many levels behind running on big irons !

Willy Received on 2008/07/30 22:58

This archive was generated by hypermail 2.2.0 : 2008/07/30 23:00 CEST