Hello,

On Mon, Dec 30, 2013 at 10:27:52AM +0100, Willi Fehler wrote:
> Hello,
> 
> I have a question about the network design. I think there are two options:
> 
> one arm vs two arm
> 
> For performance critical applications I think it's better to use one 
> arm. In several howto's on the web there are no informations about 
> direct-routing and loopback ip. When my real-servers are in the same 
> network as my loadbalancer I think I have to use direct-routing when the 
> default gateway is pointing to my firewall instead of the loadbalancer. 
> But then I also have to configure the VIP on each real-server as 
> loopback-ip.

I think you're mixing several things here. You're talking about
direct routing etc... which are features of layer 3/4 load balancers.

We don't support this since haproxy works as a proxy. That said, you
can generally achieve better performance from a single interface than
with two if your traffic is mostly unidirectional. The reason is that
you can pin the network card's interrupts to one CPU core, and pin
haproxy to another one. Then you can multiply this design by the number
of cores and NICs if needed.

Regards,
Willy


Reply via email to