On 21/08/2013, at 5:39 PM, est <[email protected]> wrote: > Hello, > > So this crazy idea came to my mind. Since Django (or any other WSGI project) > is running with all modules loaded into memory, after the initial loading the > local .py and .pyc source files are, in theory, no longer necessary, assume > that we don't ever need to reload/restart the system > > So, > > 1. Is it totally safe to delete .py and .pyc files after the WSIG project > finished loading in current version of uWSGI? (Assume workers don't have to > harakiri or reload) > 2. Suppose we need to build a cluster that we only store & distribute source > file from a central node (e.g. a subscription server) and slave nodes loads > python source files via uwsgi protocol or something, How difficult is could > this be? > > This idea could help strengthen runtime security at clustered nodes and > gurantee code integraty. Is my idea bad? > > Just some crazy speculations, all kinds of criticism is welcome :) > _______________________________________________ > uWSGI mailing list > [email protected] > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
While I don't think this is a bad idea, I do wonder if it's something needed. You suggest it would improve runtime security and guarantee code integrity; surely those responsibilities lie with the system administrator via existing mechanisms (solid code deployment routines, robust permission sets, etc). _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
