[Zope] [Further investigations] Re: A question about __setstate__ in Shared/DC/ZRDB/Connection.py
Dieter Maurer
dieter at handshake.de
Sat Sep 20 02:26:48 EDT 2008
Tres Seaver wrote at 2008-9-19 10:15 -0400:
> ...
>There are two problems here:
>
> - We need a way to keep the Pdata objects from evicting "precious"
> objects; ideally, Pdata instances would never be added to the cache
> at all. I worked a bit on a spike in which the Pdata iterator part
> would use a one-off connection with a zero-sized cache, but got
> stuck somewhere; maybe somebody else can make it work.
But other large operations, too, can flush objects from the cache --
e.g. large scale "catalog_object".
Thus, special treatment of "Pdata" can only reduce the risk but
not remove it.
--
Dieter
More information about the Zope
mailing list