Nicolas Chiappero wrote:
> My goal is to load balance a web service which has N http server
> instances on each real server. The reason for this is that the
> web server is very fast and non CPU intensive.
>
> Due to some limitations (NAT performance in HOWTO), I'm afraid this
NAT with 2.4 directors has little overhead and is almost as good as
VS-DR etc. This is in the HOWTO somewhere,
but probably not where it needs to be.
Even with a 2.2 director running at 800MHz, you'd probably be OK.
Your limiting factor is the throughput on your single NIC connection
to the outside world.
> configuration will not be able to serve as many requests I'd like.
> Some information about the director :
> - PIII - 800 Mhz
> - 100 Mbps LAN.
> - 256 Mo RAM
> I'm planning to handle between 20 000 000 and 30 000 000 hits/day.
>
> I have the choice to setup N IP aliases on each realserver with http
> server listening to alias1:80 and alias2:80, etc. ; or setup only one
> IP alias per realserver and make http server listen to N different ports.
I don't think LVS will care which you choose.
You could do this with VS-DR too (all services on port 80)
Joe
--
Joseph Mack PhD, Senior Systems Engineer, Lockheed Martin
contractor to the National Environmental Supercomputer Center,
mailto:mack.joseph@xxxxxxx ph# 919-541-0007, RTP, NC, USA
|