uWSGI Emperor Vassal Reloads: Signal Boundaries and Deploy Safety
Use SIGUSR2 to the uWSGI emperor, not SIGTERM to vassals, for zero-downtime code deploys. Verify with the stats endpoint before and after.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Use SIGUSR2 to the uWSGI emperor, not SIGTERM to vassals, for zero-downtime code deploys. Verify with the stats endpoint before and after.
Goal I want to use importlib.reload() as a zero-downtime update path for a small pure-Python application running on CPython 3.11, so a new version of a module can take effect without restarting the process. Constraints and uncertainty The documentation confirms that reload() re-executes the module code and replaces the entry in sys.modules , but objects alre
Goal Determine whether the connection‑draining timeout that Traefik applies during a graceful reload can be configured or influenced, so that operators can guarantee zero‑downtime migration for a small application. Uncertainty The timeout is not exposed through Traefik’s HTTP API or provider interfaces; the default value (~30 seconds in v2.7) is internal and
Integration boundary A Deno service imports a handful of remote modules over plain HTTPS URLs (not a versioned registry like deno.land/x with @ tags). Locally and in CI, Deno caches these downloads under DENO_DIR keyed by URL, so once a URL is fetched it is not requested again on later runs. The upstream occasionally publishes fixes at the same URL, and the