HAproxy 1.3.3 review

Download
by rbytes.net on

HA-Proxy is a TCP/HTTP reverse proxy which is particularly suited for high availability environments

License: GPL (GNU General Public License)
File size: 0K
Developer: Willy Tarreau
0 stars award from rbytes.net

HA-Proxy is a TCP/HTTP reverse proxy which is particularly suited for high
availability environments. Indeed, it can :

- route HTTP requests depending on statically assigned cookies ;
- spread the load among several servers while assuring server persistence through the use of HTTP cookies ;
- switch to backup servers in the event a main one fails ;
- accept connections to special ports dedicated to service monitoring ;
- stop accepting connections without breaking existing ones ;
- add/modify/delete HTTP headers both ways ;
- block requests matching a particular pattern ;

It needs very little resource. HAproxy it is event-driven architecture allows it to easily
handle thousands of simultaneous connections on hundreds of instances without risking the system's stability.

Start parameters

There are only a few command line options :

-f < configuration file >
-n < high limit for the total number of simultaneous connections >
-N < high limit for the per-proxy number of simultaneous connections >
-d starts in foregreound with debugging mode enabled
-D starts in daemon mode
-q disable messages on output
-V displays messages on output even when -q or 'quiet' are specified.
-c only checks config file and exits with code 0 if no error was found, or exits with code 1 if a syntax error was found.
-p < pidfile > asks the process to write down each of its children's pids to this file in daemon mode.
-s shows statistics (only if compiled in)
-l shows even more statistics (implies '-s')

The maximal number of connections per proxy is used as the default parameter for each instance for which the 'maxconn' paramter is not set in the 'listen' section.

The maximal number of total connections limits the number of connections used by the whole process if the 'maxconn' parameter is not set in the 'global' section.

The debugging mode has the same effect as the 'debug' option in the 'global' section. When the proxy runs in this mode, it dumps every connections, disconnections, timestamps, and HTTP headers to stdout. This should NEVER be used in an init script since it will prevent the system from starting up.

Statistics are only available if compiled in with the 'STATTIME' option. It's
only used during code optimization phases.

What's New in This Release:
This is the first version of the 1.3 branch which builds and runs on Linux, Solaris, and OpenBSD.
The code has been cleaned up a lot since 1.2, and real development will be able to begin.
This version is equivalent to the stable 1.2.16 with the addition of a "tarpit" mechanism to dampen the effect of DDoS attacks.

HAproxy 1.3.3 search tags