Graceful Restart

Created on Dec. 8, 2012, 7:24 a.m. by Hevok & updated by Hevok on May 2, 2013, 5:24 p.m.

During running in master process mode, the uWSGI server can be gracefully restarted without closing the main sockets. This means without breaking any request in the process.

Django loads all python modules at startup, all code can be replaced (ideally using a version control system) while it keeps running. After that a SIGHUP signal needs to be send to make uWSGI reload the app on each worker as it finishes current requests.


Tags: reset, server, django
Categories: Quest
Parent: Web Framework

Update entry (Admin) | See changes

Comment on This Data Unit