3 ms·
> To verify this in practice, I wrote a quick script that requests a particular URL again and again in an infinite loop. That's not how you verify it. Use a lo
by stefantalpalaru 11y ago
> To verify this in practice, I wrote a quick script that requests a particular URL again and again in an infinite loop.
That's not how you verify it. Use a load benchmark like "ab -c 10 -n 3000 -q domain.tld/" and if that doesn't report non-200 responses while deploying the new code, then you can talk about no downtime.
My solution for this problem (tested and deployed on Django sites) is this: https://github.com/stefantalpalaru/uwsgi_reload https://github.com/stefantalpalaru/uwsgi_reload