# HAProxy

<https://www.haproxy.org/>

HAProxy is a free, very fast and reliable reverse-proxy offering [high availability](http://en.wikipedia.org/wiki/High_availability), [load balancing](http://en.wikipedia.org/wiki/Load_balancer), and proxying for TCP and HTTP-based applications. It is particularly suited for very high traffic web sites and powers a significant portion of the world's most visited ones. Over the years it has become the de-facto standard opensource load balancer, is now shipped with most mainstream Linux distributions, and is often deployed by default in cloud platforms.

[Proxy methods](/readme/architect/load-balance/haproxy/proxy-methods.md)

[HAProxy for RDP](/readme/architect/load-balance/haproxy/haproxy-for-rdp.md)

[Payment gateway A/B test with HAProxy](/readme/architect/load-balance/haproxy/payment-gateway-a-b-test-with-haproxy.md)

[HAPRoxy for Percona or Galera](/readme/architect/load-balance/haproxy/haproxy-for-percona-or-galera.md)

[HA PostgreSQL with Patroni, Haproxy, Keepalived](/readme/architect/db/postgres/ha-postgresql-with-patroni-haproxy-keepalived.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://book.konstantinsecurity.com/readme/architect/load-balance/haproxy.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
