Sean Cazzell wrote:
On Wed, 2005-11-02 at 13:02 -0600, Ian Bicking wrote:
OTOH, caching with multiple processes and SQLObject can get a little
hairy. I can't give a quick answer about that, because I've been
putting off thinking through the implications for some time :(
Ian, if we have caching disabled we are safe, right? I've been looking
at CacheFactory and it sounds like using the new events system in 0.8
one could implement caching using memcached for multi-process/server
environments.
No, I don't think it's entirely safe. A definite to-do for 0.8 will be
a public and documented caching interface. If a multiprocess
environment you'll probably want to leave caching on (it's pretty
important for performance) and then clear the cache at the beginning or
end of each request. You can do that with _connection.cache.clear().
--
Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org