Tag Archives: webperf

HAProxy and gzip compression

Synopsis Compression is a Technic to reduce object size to reduce delivery delay for objects over HTTP protocol. Until now, HAProxy did not include such feature. But the guys at HAProxy Technologies worked hard on it (mainly David Du Colombier … Continue reading

Posted in HAProxy, optimization, performance | Tagged , , , | 9 Comments

Application Delivery Controller and ecommerce websites

Synopsis Today, almost any ecommerce website uses a load-balancer or an application delivery controller in front of it, in order to improve its availability and reliability. In today’s article, I’ll explain how we can take advantage of ADCs’ layer 7 … Continue reading

Posted in Aloha, architecture, HAProxy, layer7, performance | Tagged , , , , , | 1 Comment

HAProxy and Varnish comparison

In opensource world, there are some very smart products which are very often used to build a high performance, reliable and scalable architecture. HAProxy and Varnish are both in this category. Since we can’t really compare a reverse-proxy cache and … Continue reading

Posted in HAProxy, performance | Tagged , , , , , , , | 7 Comments

Layer 4 load balancing tunnel mode

The tunnel mode looks like the Direct Server Return mode, except that traffic between the load-balancer and the server can be routed. The load-balancer encapsulates the request in an IP tunnel to the server. The server recover the client request … Continue reading

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

layer 4 load balancing Direct Server Return mode

Direct server return is usually shortened to DSR. In DSR mode, the load-balancer routes packets to the backends without changing anything in it but the destination MAC address. The backends process the requests and answer directly to the clients, without … Continue reading

Posted in Aloha, architecture, layer4 | Tagged , , | 4 Comments

Layer 4 load balancing NAT mode

NAT stands for Network Address Translation. In the NAT mode, the load-balancer will route traffic between user and server by changing destination IP address of the packets. TCP connection overview TCP connection is established between the client and the server. … Continue reading

Posted in Aloha, architecture, layer4 | Tagged , , | 9 Comments

How to play with maxconn to avoid server slowness or crash

Using Aloha load balancer and HAProxy, it is easy to protect any application or web server against unexpected high load. Introduction The response time of web servers is directly related to the number of requests they have to manage at … Continue reading

Posted in Aloha, performance | Tagged , , | 8 Comments