HAProxy version 2.8.5-aaba8d0 2023/12/07 - https://haproxy.org/
server-template range: 0..N T4 B100 RSS (MB) T4 B1000 RSS (MB) T4 B10000 RSS (MB) T64 B100 RSS (MB) T64 B1000 RSS (MB) T64 B10000 RSS (MB)
--------------------------- ---------------- ----------------- ------------------ ----------------- ------------------ -------------------
0 12 18 81 17 24 86
1 12 22 123 18 32 168
2 13 27 166 19 40 249
5 14 39 292 21 64 492
10 16 60 504 25 105 898
100 54 441 4308 98 835 8204
200 96 863 8534 180 1647 16322
300 139 1286 12761 261 2459 24440
server-template range: 0..N T4 B100 RSS (MB) T4 B1000 RSS (MB) T4 B10000 RSS (MB) T64 B100 RSS (MB) T64 B1000 RSS (MB) T64 B10000 RSS (MB)
--------------------------- ---------------- ----------------- ------------------ ----------------- ------------------ -------------------
0 12 18 81 17 23 86
1 12 23 131 18 32 175
2 13 28 181 19 41 264
5 14 43 330 22 68 530
10 17 68 579 26 112 973
100 62 515 5055 106 910 8952
200 111 1013 10030 194 1797 17817
300 161 1510 15004 283 2683 26683
server-template range: 0..N T4 B100 RSS (MB) T4 B1000 RSS (MB) T4 B10000 RSS (MB) T64 B100 RSS (MB) T64 B1000 RSS (MB) T64 B10000 RSS (MB)
--------------------------- ---------------- ----------------- ------------------ ----------------- ------------------ -------------------
0 12 18 80 17 24 86
1 12 22 123 18 32 168
2 13 26 166 19 40 249
5 14 39 293 21 64 492
10 16 60 504 25 105 898
100 54 441 4308 98 835 8204
200 96 863 8534 180 1647 16322
300 139 1286 12761 261 2459 24440
These tables are very helpful. Should I read "Servers per Backend" as "pre-allocated server slots per backend" (that is, it's the
n
inserver-template <prefix> 1-n
)?The cost of going from 5 to 10 is high enough in some cases that 10 just doesn't seem tenable as a default. I'm very interested to know what the cost is to go from 0 (in particular, no dynamic config manager, the status quo) to 5, or even from 0 to 1. What is the minimal cost we can impose on the fleet to get some benefit (even the tiniest bit) from enabling the dynamic config manager?
It might also be interesting to see whether there's a difference in going from 0 to 5 pre-allocated server slots with 2 servers per backend versus going from 0 to 5 with 10 servers per backend. (It would also be interesting to see whether custom certificates, custom HTTP header actions, or other options magnify the cost, but it isn't practical to test everything.)