By using the cluster+capacity sorting function we can detect
heterogneous clusters which are not properly reported. Thanks to this,
the following misnumbered machine featuring 4 big cores, 4 medium ones
an 4 small ones is properly detected with its clusters correctly
assigned:
[keep] thr= 0 -> cpu= 0 pk=00 no=00 cl=000 ts=000 capa=1024
[keep] thr= 1 -> cpu= 1 pk=00 no=00 cl=002 ts=008 capa=278
[keep] thr= 2 -> cpu= 2 pk=00 no=00 cl=002 ts=009 capa=278
[keep] thr= 3 -> cpu= 3 pk=00 no=00 cl=002 ts=010 capa=278
[keep] thr= 4 -> cpu= 4 pk=00 no=00 cl=002 ts=011 capa=278
[keep] thr= 5 -> cpu= 5 pk=00 no=00 cl=001 ts=004 capa=905
[keep] thr= 6 -> cpu= 6 pk=00 no=00 cl=001 ts=005 capa=905
[keep] thr= 7 -> cpu= 7 pk=00 no=00 cl=001 ts=006 capa=866
[keep] thr= 8 -> cpu= 8 pk=00 no=00 cl=001 ts=007 capa=866
[keep] thr= 9 -> cpu= 9 pk=00 no=00 cl=000 ts=001 capa=984
[keep] thr= 10 -> cpu= 10 pk=00 no=00 cl=000 ts=002 capa=984
[keep] thr= 11 -> cpu= 11 pk=00 no=00 cl=000 ts=003 capa=1024
Also this has the benefit of always assigning highest performance
clusters with the smallest IDs so that simple configs can decide to
simply bind to cluster 0 or clusters 0,1 and benefit from optimal
performance.
|
||
|---|---|---|
| .github | ||
| addons | ||
| admin | ||
| dev | ||
| doc | ||
| examples | ||
| include | ||
| reg-tests | ||
| scripts | ||
| src | ||
| tests | ||
| .cirrus.yml | ||
| .gitattributes | ||
| .gitignore | ||
| .mailmap | ||
| .travis.yml | ||
| BRANCHES | ||
| BSDmakefile | ||
| CHANGELOG | ||
| CONTRIBUTING | ||
| INSTALL | ||
| LICENSE | ||
| MAINTAINERS | ||
| Makefile | ||
| README.md | ||
| SUBVERS | ||
| VERDATE | ||
| VERSION | ||
HAProxy
HAProxy is a free, very fast and reliable reverse-proxy offering high availability, load balancing, and proxying for TCP and HTTP-based applications.
Installation
The INSTALL file describes how to build HAProxy. A list of packages is also available on the wiki.
Getting help
The discourse and the mailing-list are available for questions or configuration assistance. You can also use the slack or IRC channel. Please don't use the issue tracker for these.
The issue tracker is only for bug reports or feature requests.
Documentation
The HAProxy documentation has been split into a number of different files for ease of use. It is available in text format as well as HTML. The wiki is also meant to replace the old architecture guide.
Please refer to the following files depending on what you're looking for:
- INSTALL for instructions on how to build and install HAProxy
- BRANCHES to understand the project's life cycle and what version to use
- LICENSE for the project's license
- CONTRIBUTING for the process to follow to submit contributions
The more detailed documentation is located into the doc/ directory:
- doc/intro.txt for a quick introduction on HAProxy
- doc/configuration.txt for the configuration's reference manual
- doc/lua.txt for the Lua's reference manual
- doc/SPOE.txt for how to use the SPOE engine
- doc/network-namespaces.txt for how to use network namespaces under Linux
- doc/management.txt for the management guide
- doc/regression-testing.txt for how to use the regression testing suite
- doc/peers.txt for the peers protocol reference
- doc/coding-style.txt for how to adopt HAProxy's coding style
- doc/internals for developer-specific documentation (not all up to date)
License
HAProxy is licensed under GPL 2 or any later version, the headers under LGPL 2.1. See the LICENSE file for a more detailed explanation.
