Category Archives: layer7

A HTTP monitor which matches multiple conditions in HAProxy

Load-Balancing and health checking Health checking is the method to check a service availability on a server. It is one of the most important feature of a load-balancer. How could we balance traffic amongst servers if we don’t know if … Continue reading

Posted in architecture, HAProxy, layer7 | Tagged , , | Leave a comment

Web application name to backend mapping in HAProxy

Synopsis Let’s take a web application platform where many HTTP Host header points to. Of course, this platform hosts many backends and HAProxy is used to perform content switching based on the Host header to route HTTP traffic to each … Continue reading

Posted in Aloha, architecture, HAPEE, HAProxy, layer7, optimization, performance | Tagged , , , , , , , , | Leave a comment

Asymmetric routing, multiple default gateways on Linux with HAProxy

Why we may need multiple default gateways? Nowadays, Application Delivery controllers (aka Load-Balancers) become the entry point for all the applications hosted in a company or administration. That said, many different type of population could access the applications:   * internal … Continue reading

Posted in Aloha, architecture, HAProxy, layer7 | Tagged , , , , , | 2 Comments

Configuring HAProxy and Nginx for SPDY

Introduction to SPDY / HTTP-bis SPDY is a protocol designed by google which aims to fix HTTP/1.1 protocol weaknesses and to adapt this 14 years old protocol to today’s internet devices and requirements. Back in 1999, when HTTP/1.1 was designed, … Continue reading

Posted in architecture, HAProxy, layer7, ssl | Tagged , , , , | 1 Comment

Howto transparent proxying and binding with HAProxy and ALOHA Load-Balancer

Transparent Proxy HAProxy works has a reverse-proxy. Which means it maintains 2 connections when allowing a client to cross it:   – 1 connection between HAProxy and the client   – 1 connection between HAProxy and the server HAProxy then manipulate buffers … Continue reading

Posted in Aloha, architecture, HAProxy, layer7 | Tagged , , , , | Leave a comment

Client IP persistence OR source IP hash load-balancing?

Client or Source IP ??? Well, this is roughly the same! Depends on people, environment, products, etc… I may use both of them in this article, but be aware that both of them points to the IP that is being … Continue reading

Posted in Aloha, architecture, layer4, layer7 | Tagged , , | Leave a comment

IIS 6.0 appsession cookie and PCI compliance

Synopsis You’re using HAProxy or the ALOHA Load-Balancer to load-balance IIS 6.0 web applications and you want them to pass successfully PCI compliance test. One of the pre-requisite is to force the cookie to be “HttpOnly”, in order to tell … Continue reading

Posted in Aloha, HAProxy, layer7, security | Tagged , , , | Leave a comment