SV: SV: [ZODB-Dev] Flush

Shane Hathaway shane@zope.com
Mon, 04 Feb 2002 10:10:02 -0500


Toby Dickenson wrote:

> On Fri, 01 Feb 2002 13:35:45 -0500, Shane Hathaway <shane@zope.com>
> wrote:
> 
>>Note that ZODB reserves the right to 
>>unload objects as frequently as it needs;
> 
> Excluding the rule that objects never get automatically deactivated in
> the middle of a transaction.


I think you're right, though objects also get deactivated at 
subtransactions.

>>in fact, with the cache 
>>optimizations Toby has proposed, I think objects will be unloaded more 
>>frequently than today.
> 
> The opposite should be true. Ive added this to the faq at
> http://www.zope.org/Members/htrd/cache/faq

We're saying the same thing but in different ways.  I was saying that 
infrequently used objects will actually get deactivated, which is not 
always the case today. :-)

Shane