Hello,

We are trying to vertically scale our HAProxy instances, and we are
not getting the results that one would expect by upgrading the
hardware (assuming that the software can take advantage of the extra
resources).

We upgraded from machines with 16 threads, to machines with 32
threads, and we are only observing a 50% increase in the ability to
sustain connections and rps, as well as SSL rate, and we can’t seem to
reach that rate before we overload the server.

I’ve recently posted about “Theoretical limits for a HAProxy
instance”, where I used the "Small" server as an example for the
limits we were observing. I am using the same metrics here. We
performed the same test in a bigger server with production traffic,
but raising the maxsslrate and maxconnrate, from 2500 to 5000.

"Small" server specs:
CPU: AMD Ryzen 7 3700X 8-Core Processor (16 threads)
RAM: DDR4 64GB (2666 MT/s)

"Big" server specs:
CPU: AMD Ryzen 9 5950X 16-Core Processor (32 threads)
RAM: DDR4 128GB (2666 MT/s)

This is the post on discourse, where I posted some of our Prometheus
metrics 
https://discourse.haproxy.org/t/vertical-scaling-of-haproxy-instances/8190
.

We are wondering if:
- Are these results expected?
- Does anyone with a similar setup/config get different results?

Thanks in advance.

Reply via email to