Robert Brewer wrote:
> In a multithreaded environment, I recommend apps read config only at
> process startup, parse the entries and use them to modify live objects,
> and then throw away the config. Then, if you need to make changes to
> settings while live, you just modify the live objects in the same way
> the config parsing step did (and then modify the config file only if
> desired). 

I completely agree with this :-)

> potential change. In a multiprocess environment, you can notify other
> process with any of various forms of IPC or shared state mechanisms.

Can you suggest some good pythonic (sorry! ;-) ) IPC or shared state 
mechanisms?

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk
_______________________________________________
Web-SIG mailing list
Web-SIG@python.org
Web SIG: http://www.python.org/sigs/web-sig
Unsubscribe: 
http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com

Reply via email to