Re:Truly Seamless Reloads with HAProxy
by user5994461 on Friday May 05, 2017 @06:15AM
(#14272333)
>>> I always wondered why HAProxy couldn't just, you know, reload the config.
It reloads just fine, same as all software.
Or if you prefer the pessimistic version: HAProxy, nginx, Apache and Varnish all suck at reloading configurations.
The difference is that HAProxy 1) tests it and 2) have a TCP mode.
To quote the issue: They manage to achieve 1 error per 40 000 connections... only if pinning to specifics CPU (typical in high performance environment to achieve 100% usage of all cores) while doing 10 reloads per second and creating 80k new connections per second.
Do you think any of apache/nginx/varnish, would do better than that in these circumstances? If you do, you are not very realistic ;)
It reloads just fine, same as all software.
Or if you prefer the pessimistic version: HAProxy, nginx, Apache and Varnish all suck at reloading configurations.
The difference is that HAProxy 1) tests it and 2) have a TCP mode.
To quote the issue: They manage to achieve 1 error per 40 000 connections... only if pinning to specifics CPU (typical in high performance environment to achieve 100% usage of all cores) while doing 10 reloads per second and creating 80k new connections per second.
Do you think any of apache/nginx/varnish, would do better than that in these circumstances? If you do, you are not very realistic ;)