Welcome! Log In Create A New Profile

Advanced

Re: Viability of nginx instead of hardware load balancer?

Mirosław Jaworski
September 15, 2009 05:32PM
On Tue, 2009-09-15 at 15:41 +0100, John Moore wrote:
> I'm working on a project where it's critical to minimize the possibility
> of a single point of failure, and where there will be quite high
> traffic. Currently in another version of the system we're using nginx as
> a remote proxy server for Tomcat, but the current plan is to use a
> hardware load balancer in front

....which is a single point of failure too. And the "hardware" in
"hardware load balancer" isn't so "hardware" as people tend to
think. It's much closer to "common hardware, without redundant
power supplies, without RAIDs, with the base system on the flashcard
and with the SSL accelerator card". You can make one at 1/10th of the
price of the "hardware" one yourself, maybe 1/5th if you purchase
the same SSL accelerator card, which is supported by the OS you would
use to make your own hardware load balancer.

> of a Tomcat cluster (or a cluster of
> nginx+Tomcat instances).
> I'm wondering, though, given the extraordinary
> performance and reliability of nginx, whether we might be able to omit
> the hardware load-balancer and use instead a couple of dedicated minimal
> nginx servers

If you really want only load balancing ( no proxying/caching/SSL
acceleration ) you can make damn fast and easy lvl2 load balancing
using BSD packet filter pf and relayd ( with backend monitoring );
if you want failover setup you can also have it with pf's pfsync
and carp ( VRRP implementation ). You can also give up on "hardware
firewalls" in front of it and use the same pf to protect whole
environment behind.

Put that on frontends and put nginx/tomcat on the backends as you
planned.

--
Miroslaw "Psyborg" Jaworski
GCS/IT d- s+:+ a C++$ UBI++++$ P+++$ L- E--- W++(+++)$ N++ o+ K- w-- O-
M- V- PS+ PE++ Y+ PGP t 5? X+ R++ !tv b++(+++) DI++ D+ G e* h++ r+++ y?
Subject Author Posted

Viability of nginx instead of hardware load balancer?

John Moore September 15, 2009 10:50AM

RE: Viability of nginx instead of hardware load balancer?

David Murphy September 15, 2009 11:30AM

Re: Viability of nginx instead of hardware load balancer?

John Moore September 15, 2009 03:26PM

RE: Viability of nginx instead of hardware load balancer?

David Murphy September 15, 2009 04:08PM

Re: Viability of nginx instead of hardware load balancer?

Gena Makhomed September 15, 2009 04:28PM

Re: Viability of nginx instead of hardware load balancer?

iberkner September 15, 2009 04:52PM

RE: Viability of nginx instead of hardware load balancer?

David Murphy September 15, 2009 05:32PM

RE: Viability of nginx instead of hardware load balancer?

David Murphy September 15, 2009 05:20PM

Re: Viability of nginx instead of hardware load balancer?

Gena Makhomed September 16, 2009 04:16AM

RE: Viability of nginx instead of hardware load balancer?

David Murphy September 16, 2009 10:10AM

Re: Viability of nginx instead of hardware load balancer?

Gena Makhomed September 16, 2009 04:40PM

RE: Viability of nginx instead of hardware load balancer?

David Murphy September 17, 2009 10:12AM

Re: Viability of nginx instead of hardware load balancer?

Gena Makhomed September 21, 2009 06:58AM

RE: Viability of nginx instead of hardware load balancer?

David Murphy September 21, 2009 04:06PM

Re: Viability of nginx instead of hardware load balancer?

John Moore September 21, 2009 04:34PM

RE: Viability of nginx instead of hardware load balancer?

David Murphy September 21, 2009 05:16PM

Re: Viability of nginx instead of hardware load balancer?

Gena Makhomed September 23, 2009 01:30PM

Re: Viability of nginx instead of hardware load balancer?

Mirosław Jaworski September 15, 2009 05:32PM

Re: Viability of nginx instead of hardware load balancer?

Barry Abrahamson September 17, 2009 01:12AM

Re: Viability of nginx instead of hardware load balancer?

John Moore September 17, 2009 06:58AM

RE: Viability of nginx instead of hardware load balancer?

David Murphy September 17, 2009 10:14AM

Re: Viability of nginx instead of hardware load balancer?

Barry Abrahamson September 24, 2009 11:10AM

Re: Viability of nginx instead of hardware load balancer?

Gabriel Ramuglia September 24, 2009 11:56AM

Re: Viability of nginx instead of hardware load balancer?

Payam Chychi September 24, 2009 01:12PM

Re: Viability of nginx instead of hardware load balancer?

Gabriel Ramuglia September 24, 2009 01:36PM

RE: Viability of nginx instead of hardware load balancer?

David Murphy September 24, 2009 04:02PM

Re: Viability of nginx instead of hardware load balancer?

anomalizer October 03, 2009 03:20AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 155
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready