Skip to content

Commit b090a20

Browse files
author
HAProxy Community
committed
Update docs for dev
1 parent 708d00f commit b090a20

3 files changed

Lines changed: 46 additions & 12 deletions

File tree

docs/dev/configuration.html

Lines changed: 38 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
5-
<title>HAProxy version 3.4-dev11-2 - Configuration Manual</title>
5+
<title>HAProxy version 3.4-dev11-5 - Configuration Manual</title>
66
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" />
77
<link href="https://raw.githubusercontent.com/thomaspark/bootswatch/v3.3.7/cerulean/bootstrap.min.css" rel="stylesheet" />
88
<link href="../css/page.css?0.4.2-15" rel="stylesheet" />
@@ -4733,6 +4733,8 @@
47334733

47344734
<a class="list-group-item" href="#tune.stick-counters">tune.stick-counters</a>
47354735

4736+
<a class="list-group-item" href="#tune.streams-elasticity">tune.streams-elasticity</a>
4737+
47364738
<a class="list-group-item" href="#tune.takeover-other-tg-connections">tune.takeover-other-tg-connections</a>
47374739

47384740
<a class="list-group-item" href="#tune.vars.global-max-size">tune.vars.global-max-size</a>
@@ -4920,7 +4922,7 @@
49204922
You can use <strong>left</strong> and <strong>right</strong> arrow keys to navigate between chapters.<br>
49214923
</p>
49224924
<p class="text-right">
4923-
<small>Converted with <a href="https://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>0.4.2-15</b> on <b>2026/05/08</b></small>
4925+
<small>Converted with <a href="https://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>0.4.2-15</b> on <b>2026/05/10</b></small>
49244926
</p>
49254927
</div>
49264928
<!-- /.sidebar -->
@@ -4931,7 +4933,7 @@
49314933
<div class="text-center">
49324934
<h1><a href="http://www.haproxy.org/" title="HAProxy"><img src="../img/HAProxyCommunityEdition_60px.png?0.4.2-15" /></a></h1>
49334935
<h2>Configuration Manual</h2>
4934-
<p><strong>version 3.4-dev11-2</strong></p>
4936+
<p><strong>version 3.4-dev11-5</strong></p>
49354937
<p>
49364938
2026/05/08<br>
49374939

@@ -8058,6 +8060,7 @@ <h2 id="chapter-2.10" data-target="2.10"><small><a class="small" href="#2.10">2.
80588060
- <a href="#tune.sndbuf.client">tune.sndbuf.client</a>
80598061
- <a href="#tune.sndbuf.frontend">tune.sndbuf.frontend</a>
80608062
- <a href="#tune.sndbuf.server">tune.sndbuf.server</a>
8063+
- <a href="#tune.streams-elasticity">tune.streams-elasticity</a>
80618064
- <a href="#tune.stick-counters">tune.stick-counters</a>
80628065
- <a href="#tune.ssl.cachesize">tune.ssl.cachesize</a>
80638066
- <a href="#tune.ssl.capture-buffer-size">tune.ssl.capture-buffer-size</a>
@@ -11163,6 +11166,37 @@ <h2 id="chapter-3.2" data-target="3.2"><small><a class="small" href="#3.2">3.2.<
1116311166
entries. This is a LRU cache. Because generating a SSL certificate
1116411167
dynamically is expensive, they are cached. The default cache size is set to
1116511168
1000 entries.
11169+
</pre><a class="anchor" name="tune.streams-elasticity"></a><a class="anchor" name="3-tune.streams-elasticity"></a><a class="anchor" name="3.2-tune.streams-elasticity"></a><a class="anchor" name="tune.streams-elasticity (Global section)"></a><a class="anchor" name="tune.streams-elasticity (Performance tuning)"></a><div class="keyword"><b><a class="anchor" name="tune.streams-elasticity"></a><a href="#3.2-tune.streams-elasticity">tune.streams-elasticity</a></b> <span style="color: #080">&lt;number&gt;</span></div><pre class="text">Defines a target percentage of streams per frontend connection relative to
11170+
the maximum number of concurrent connections (maxconn) when all connections
11171+
are established. This metric applies to multiplexed protocols like HTTP/2 or
11172+
QUIC, where each connection may receive multiple streams. At least one is
11173+
always guaranteed, so the percentage must be at least 100%. During connection
11174+
setup, HAProxy dynamically advertises additional streams up to the configured
11175+
limit, maintaining the target ratio. At connection establishment, every
11176+
frontend connection receives at least one stream; extra streams are assigned
11177+
based on the target percentage and configured stream limits. This ensures
11178+
efficient stream allocation under varying load conditions (more streams at
11179+
low loads, fewer at high loads).
11180+
11181+
Highly dynamic sites with many objects per page benefit from high ratios,
11182+
enabling many streams per connection. Sites using fewer streams on average
11183+
(WebSocket, application code) may prefer small ratios closer to 120 or 150
11184+
(20 to 50% more streams than connections) preventing excessive stream counts
11185+
under sustained loads.
11186+
11187+
The default value is 0, meaning no enforcement at this level, so only H2 and
11188+
QUIC configurations apply (with the default setting of 100 streams per
11189+
connection, this corresponds to 10000%). This remains the recommended setting
11190+
for small deployments (maxconn around a thousand). Moderately sized setups
11191+
(few thousands to tens of thousands connections) typically set the ratio
11192+
between 1000 and 5000, allowing 10 to 50 streams per connection at full load.
11193+
Large-scale deployments (hundreds of thousands to millions connections) might
11194+
use lower values (120 to 200) to support 1.2 to 2 streams per connection on
11195+
average at full load.
11196+
11197+
Monitoring the total number of active streams on backends, including queues,
11198+
provides a practical indicator of a sustainable target load and helps avoid
11199+
over-provisioning.
1116611200
</pre><a class="anchor" name="tune.stick-counters"></a><a class="anchor" name="3-tune.stick-counters"></a><a class="anchor" name="3.2-tune.stick-counters"></a><a class="anchor" name="tune.stick-counters (Global section)"></a><a class="anchor" name="tune.stick-counters (Performance tuning)"></a><div class="keyword"><b><a class="anchor" name="tune.stick-counters"></a><a href="#3.2-tune.stick-counters">tune.stick-counters</a></b> <span style="color: #080">&lt;number&gt;</span></div><pre class="text">Sets the number of stick-counters that may be tracked at the same time by a
1116711201
connection or a request via &quot;track-sc*&quot; actions in &quot;<a href="#tcp-request">tcp-request</a>&quot; or
1116811202
&quot;<a href="#http-request">http-request</a>&quot; rules. The default value is set at build time by the macro
@@ -35519,7 +35553,7 @@ <h2 id="chapter-12.9" data-target="12.9"><small><a class="small" href="#12.9">12
3551935553
<br>
3552035554
<hr>
3552135555
<div class="text-right">
35522-
HAProxy 3.4-dev11-2 &ndash; Configuration Manual<br>
35556+
HAProxy 3.4-dev11-5 &ndash; Configuration Manual<br>
3552335557
<small>, 2026/05/08</small>
3552435558
</div>
3552535559
</div>

docs/dev/intro.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
5-
<title>HAProxy version 3.4-dev11-2 - Starter Guide</title>
5+
<title>HAProxy version 3.4-dev11-5 - Starter Guide</title>
66
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" />
77
<link href="https://raw.githubusercontent.com/thomaspark/bootswatch/v3.3.7/cerulean/bootstrap.min.css" rel="stylesheet" />
88
<link href="../css/page.css?0.4.2-15" rel="stylesheet" />
@@ -484,7 +484,7 @@
484484
You can use <strong>left</strong> and <strong>right</strong> arrow keys to navigate between chapters.<br>
485485
</p>
486486
<p class="text-right">
487-
<small>Converted with <a href="https://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>0.4.2-15</b> on <b>2026/05/08</b></small>
487+
<small>Converted with <a href="https://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>0.4.2-15</b> on <b>2026/05/10</b></small>
488488
</p>
489489
</div>
490490
<!-- /.sidebar -->
@@ -495,7 +495,7 @@
495495
<div class="text-center">
496496
<h1><a href="http://www.haproxy.org/" title="HAProxy"><img src="../img/HAProxyCommunityEdition_60px.png?0.4.2-15" /></a></h1>
497497
<h2>Starter Guide</h2>
498-
<p><strong>version 3.4-dev11-2</strong></p>
498+
<p><strong>version 3.4-dev11-5</strong></p>
499499
<p>
500500
<br>
501501

@@ -2515,7 +2515,7 @@ <h2 id="chapter-4.4" data-target="4.4"><small><a class="small" href="#4.4">4.4.<
25152515
<br>
25162516
<hr>
25172517
<div class="text-right">
2518-
HAProxy 3.4-dev11-2 &ndash; Starter Guide<br>
2518+
HAProxy 3.4-dev11-5 &ndash; Starter Guide<br>
25192519
<small>, </small>
25202520
</div>
25212521
</div>

docs/dev/management.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html lang="en">
33
<head>
44
<meta charset="utf-8" />
5-
<title>HAProxy version 3.4-dev11-2 - Management Guide</title>
5+
<title>HAProxy version 3.4-dev11-5 - Management Guide</title>
66
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" />
77
<link href="https://raw.githubusercontent.com/thomaspark/bootswatch/v3.3.7/cerulean/bootstrap.min.css" rel="stylesheet" />
88
<link href="../css/page.css?0.4.2-15" rel="stylesheet" />
@@ -696,7 +696,7 @@
696696
You can use <strong>left</strong> and <strong>right</strong> arrow keys to navigate between chapters.<br>
697697
</p>
698698
<p class="text-right">
699-
<small>Converted with <a href="https://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>0.4.2-15</b> on <b>2026/05/08</b></small>
699+
<small>Converted with <a href="https://github.com/cbonte/haproxy-dconv">haproxy-dconv</a> v<b>0.4.2-15</b> on <b>2026/05/10</b></small>
700700
</p>
701701
</div>
702702
<!-- /.sidebar -->
@@ -707,7 +707,7 @@
707707
<div class="text-center">
708708
<h1><a href="http://www.haproxy.org/" title="HAProxy"><img src="../img/HAProxyCommunityEdition_60px.png?0.4.2-15" /></a></h1>
709709
<h2>Management Guide</h2>
710-
<p><strong>version 3.4-dev11-2</strong></p>
710+
<p><strong>version 3.4-dev11-5</strong></p>
711711
<p>
712712
<br>
713713

@@ -5853,7 +5853,7 @@ <h2 id="chapter-13.1" data-target="13.1"><small><a class="small" href="#13.1">13
58535853
<br>
58545854
<hr>
58555855
<div class="text-right">
5856-
HAProxy 3.4-dev11-2 &ndash; Management Guide<br>
5856+
HAProxy 3.4-dev11-5 &ndash; Management Guide<br>
58575857
<small>, </small>
58585858
</div>
58595859
</div>

0 commit comments

Comments
 (0)