3 ms·
What do you mean by "with no issues"? Do you want to say that it doesn't drop connections? If that is the case, I would be curious to know more - but cursory se
by annnnd 9y ago
What do you mean by "with no issues"? Do you want to say that it doesn't drop connections? If that is the case, I would be curious to know more - but cursory search doesn't support this claim. [0]
If you mean something else then HAproxy also supports "graceful restarts several times per second with no issues". But the article is not talking about that.
EDIT: added link.
[0] https://serverfault.com/questions/523417/reloading-new-nginx-configuration-with-no-downtime https://serverfault.com/questions/523417/reloading-new-nginx...
- greglindahl 9y agoI mean it didn't drop our user connections. The link you give talks about persistent HTTP connections paired with a broken http client.
- annnnd 9y agoActually the link I posted dealt with reloading config, not restarting (which is something completely different - you can't upgrade binary that way). But broken clients are everywhere, so you can't discount them. And persisten connections too, while we are at it. I did however find instructions how to properly restart Nginx without dropping connections: https://www.digitalocean.com/community/tutorials/how-to-upgrade-nginx-in-place-without-dropping-client-connections https://www.digitalocean.com/community/tutorials/how-to-upgr... Apparently it can be done (and could even be automated), but the procedure looks very generic to me (not nginx-specific). Is this what you did?