{"schemaVersion":1,"id":"haproxy","name":"HAProxy","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/haproxy/","officialUrl":"https://www.haproxy.org/","isCatalog":false,"description":"A TCP and HTTP load balancer: health checks, routing, and load distribution across backends for resilient app service.","tasks":["Check resilient load balancing","Send requests, disable one backend, and check that service continues"],"categoryIds":["infrastructure"],"subcategoryIds":["infrastructure.servers","infrastructure.hosting"],"tags":["HAProxy","Web infrastructure"],"aliases":[],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"The open source component used locally or self-hosted for the stated workflow, within its license terms.","paidUsage":"Your own server, external APIs, and compute; managed cloud hosting, support, and additional commercial features if selected.","license":"Core: GPLv2; exported headers: LGPL, with the OpenSSL exception stated in LICENSE.","selectionGuide":{"purpose":"Check resilient load balancing","chooseWhen":["Check resilient load balancing","Send requests, disable one backend, and check that service continues"],"considerInstead":["When choosing for this topic, compare HAProxy with Caddy. A candidate to compare under the topic: Hosting and publication, Web servers and proxies. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together.","When choosing for this topic, compare HAProxy with NGINX. A candidate to compare under the topic: Hosting and publication, Web servers and proxies. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together."],"requirements":[],"limitations":["Costs and limits of free use: Your own server, external APIs, and computing resources; managed cloud hosting, support, and additional commercial features if selected.","Terms of use: Core: GPLv2; exported headers: LGPL, with the OpenSSL exception stated in LICENSE.","Feature support is determined by the branch. LICENSE distinguishes the GPL core from LGPL exportable headers and adds an OpenSSL exception."],"faq":[{"question":"What can you use for free in HAProxy?","answer":"The openly available portion, used locally or self-hosted for the stated use case within its license terms."},{"question":"What additional costs might arise with HAProxy?","answer":"Your own server, external APIs, and computing resources; managed cloud hosting, support, and additional commercial features if selected."},{"question":"What terms of use matter for HAProxy?","answer":"Core: GPLv2; exported headers: LGPL, with the OpenSSL exception stated in LICENSE."},{"question":"How do you get started with HAProxy?","answer":"Set up HAProxy to test: Two test backends and a health-check endpoint. Send requests, disable one backend, and check that service continues. Integrate the checked version into your project; document its configuration, limitations, and recovery method."},{"question":"How should I choose an HAProxy branch for long-term operation?","answer":"The official site distinguishes LTS from the shorter stable lifecycle and recommends updating bugfix releases within the chosen branch. HAProxy proxies TCP/HTTP and balances backend servers; newer branches add runtime configuration, observability, and protocol features that must be checked by version."}],"related":[{"id":"caddy","reason":"A candidate to compare under the topic: Hosting and publication, Web servers and proxies. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together."},{"id":"nginx","reason":"A candidate to compare under the topic: Hosting and publication, Web servers and proxies. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together."},{"id":"traefik","reason":"A candidate to compare under the topic: Hosting and publication, Web servers and proxies. This is an editorial connection by topic, not a confirmed alternative or a guarantee that the products work together."}],"sources":["https://www.haproxy.org/","https://raw.githubusercontent.com/haproxy/haproxy/master/LICENSE"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"Check resilient load balancing","inputs":["Two test backends and a health-check endpoint.","A test project and completion criteria for the task: Check resilient load balancing."],"steps":["Set up HAProxy to test: Two test backends and a health-check endpoint.","Send requests, disable one backend, and check that service continues.","Integrate the checked version into your project; document its configuration, limitations, and recovery method."],"checks":["Health checks are correct; timeouts and logs distinguish upstream from client failures.","Check the result against a reference example; separately confirm the terms of any assets and external services used."]},"sources":["https://www.haproxy.org/","https://raw.githubusercontent.com/haproxy/haproxy/master/LICENSE"],"checkedAt":"2026-10-06","reviewScope":"Purpose and published conditions were reviewed against primary sources on 06.10.2026. The software was not installed, and quality and performance in a specific environment were not tested.","relatedIds":["caddy","traefik","nginx"],"dataVersion":"cbbe7123b47a5ae80983","type":"Web infrastructure","kind":"tool","pricingNote":"Code licensing and hosting costs are separate matters. Check the conditions for the specific version and edition.","notes":null,"labeledSources":[{"url":"https://www.haproxy.org/","label":"Official purpose"},{"url":"https://raw.githubusercontent.com/haproxy/haproxy/master/LICENSE","label":"Current product terms"}],"licenseGuides":[{"id":"gpl-2","title":"GPL 2.0 — open-source code with copyleft","scope":null,"summary":"Commercial use and sale are permitted. When distributing the program or a derivative version, comply with GPL and give recipients access to the corresponding source code. Simply using an editor or utility does not require you to open-source your independent work. Any stated exceptions apply only within their defined scope.","url":"https://opensource.org/license/gpl-2.0"},{"id":"lgpl-2.1","title":"LGPL2.1 — terms for a library and its modifications","scope":null,"summary":"You can use the library while complying with LGPL; distributing a modified version and linking it with an application involves specific requirements for source code, notices, and the ability to replace the library. Check the linking method and exact version's terms before distribution.","url":"https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html"}],"entryIds":[],"composition":null}