20 Sep
2008
20 Sep
'08
6:26 a.m.
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