[Z3-sqlos] Removal of the sqlos connection cache
Brian Sutherland
jinty at web.de
Sat Jan 14 08:00:33 CET 2006
On Fri, Jan 13, 2006 at 03:25:37PM +0100, Brian Sutherland wrote:
> One thing I am worried about with this code is that it changes the
> sqlobject cache from a per-thread cache to a global cache. I am not sure
> if this is a good or bad thing...
For the record, andres re-educated me in irc about this. The cache is
now a thread local cache and is cleared on every new transaction. This
lead to a small cleanup of the transaction machinery.
This hopefully makes it possible to use sqlos in a ZEO like way with
multiple application servers using the same database.
Just don't keep references to SQLOS objects over transactions.
--
Brian Sutherland
Metropolis - "it's the first movie with a robot. And she's a woman.
And she's EVIL!!"
More information about the z3-sqlos
mailing list