> Hi, > > When performing a graceful reload, is it possible to have uWSGI start the > new workers and wait until they are ready *before* killing off the old > workers? This would be useful for applications that have significant > startup times as it would allow us to deploy updates without causing new > requests to spin while the application initialises. > > I have searched the docs but I can't see anything related to this. > > If this isn't possible at the moment, would this be worth adding to > uWSGI's > (ever growing!) list of options? >
Hi Dave, i suggest you to look at the zerg mode (and in particular to the so called "zerg dance"). Check mailing-list posts of Marcin Deranek, as he helped a lot in improving the zerg system. Even if you can trigger master-unrelated reloads via the --lazy option, zerg mode allows you to have more control on the reload/swapping process and (more important) you are able to rollback your changes. -- Roberto De Ioris http://unbit.it _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
