Re: [Zope-dev] _v_ and ZEO

2002-04-19 Thread Toby Dickenson
On Thu, 18 Apr 2002 17:35:17 + (UTC), Florent Guillaume <[EMAIL PROTECTED]> wrote: >I'll investigate clearing the _v_ caches at the end of the transaction, >using the REQUEST._hold hack mentionned earlier. Below is the class I use for this. Just call attribute_cleaner(self,'_v_my_attribute')

Re: [Zope-dev] _v_ and ZEO

2002-04-18 Thread Florent Guillaume
Toby Dickenson <[EMAIL PROTECTED]> wrote: > >This reminds me of a question I had: given that (from what I understand) > >_v_ attributes only live in the object cache of a given Zope, > > True, and more accurate that I think you expected > > The issue is that one Zope has more than one ZODB

Re: [Zope-dev] _v_ and ZEO

2002-04-18 Thread Jens Vagelpohl
> Ive never looked at LDAPUserFolder so this may be irrelevant, but is > it possible for LDAPUserFolder to validate that the cached _v_ > information is still fresh? If that validation is quicker than > fetching a new copy then this is still an overall win. yes it does have a very rough way of va

Re: [Zope-dev] _v_ and ZEO

2002-04-18 Thread Toby Dickenson
On Thu, 18 Apr 2002 16:23:15 + (UTC), Florent Guillaume <[EMAIL PROTECTED]> wrote: >This reminds me of a question I had: given that (from what I understand) >_v_ attributes only live in the object cache of a given Zope, True, and more accurate that I think you expected The issue is that

Re: [Zope-dev] _v_ and ZEO

2002-04-18 Thread Steve Alexander
Florent Guillaume wrote: > > Or am I misunderstanding something ? My question really relates to any > use of _v_ as a cache that can survive on publisher transaction, really. > Should _v_ never be used like that ? There's a case to be made for attributes that not persisted (like _v_ attributes)