Graceful reloading with zero downtime for web apps
daniellombrana.es
daniellombrana.es
I don't think the documentation is really great. I think it is terrible. Every page seems to assume you understand the internals and the documentation attaches fancy names to concepts that are difficult to understand from the documentation.
For example, "workers' mercy", "zerg mode", "emperor mode", "the zeeg problem", "uwsgi mules", "harakiri mode".
I for one would like uwsgi a lot more if it focused on a few simple patterns that worked for the majority of cases and explained them thoroughly, including their tradeoffs.
https://github.com/unbit/uwsgi/issues/296
Note that the bug is closed because it will be fixed in an as-yet unreleased version!
stopsignal=QUIT
We're using it and no problems so far. Simple!
You are using the wrong workaround, so if you haven't had problems yet, it could only be a matter of time.
And this is only one aspect of uwsgi that is buggy/unclear
Not really. That's why we love so much uwsgi. All you have to do is to add a new config file for your zerg server, and you are done. This is handled without problems by supervisor and we've never experienced an issue with it.
I've another blog post about our full infrastructure, explaining specifically why we love uwsgi + supervisor. Because we don't need extra software within our stack and everything is pretty simple and runs on Python :D
Looking forward to more blog posts. Uwsgi is new to me, but so far I've been very pleased with it.
I've been considering solving deploys at a higher level by spinning up a new docker container and moving traffic from one to the other.