Re: [Zope-dev] DISCUSS: Enhanced MailHost (was: Speaking of 2.6...)

2002-04-18 Thread Nils Kassube
Hello Brian. * Brian Lloyd <[EMAIL PROTECTED]> [2002-04-17 20:29]: > Ok. I'd like to run the mbox thing by Jim to see if he has any The product now uses a Maildir-style approach to deal with concurrent writes. The creation of the file name uses time(), gethostname() and randint() to hopeful

Re: [Zope-dev] how bad are per-request-write-transactions

2002-04-18 Thread Jeremy Hylton
> "CM" == Chris McDonough <[EMAIL PROTECTED]> writes: >> Completely agreed. My disagreement is portraying the counter >> problem as impossible with the zodb. I think some people, as >> evidenced by some of the responses, are willing to live with the >> tradeoffs. Other people will

[Zope-dev] _v_ and ZEO

2002-04-18 Thread Florent Guillaume
Toby Dickenson <[EMAIL PROTECTED]> wrote: > > Whenever a write comes in at the over-ten-second mark, > >you write the _v_ attribute to the persistent attribute. > > That would be bad. _v_ attributes are lost when the object is > deactivated and removed from the ZODB memory cache It would l

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)

Re: [Zope-dev] how bad are per-request-write-transactions

2002-04-18 Thread Steve Alexander
Jeremy Hylton wrote: >>"CM" == Chris McDonough <[EMAIL PROTECTED]> writes: > > > >> Completely agreed. My disagreement is portraying the counter > >> problem as impossible with the zodb. I think some people, as > >> evidenced by some of the responses, are willing to live with the

Re: [Zope-dev] how bad are per-request-write-transactions

2002-04-18 Thread Shane Hathaway
Jeremy Hylton wrote: >>"CM" == Chris McDonough <[EMAIL PROTECTED]> writes: > > > >> Completely agreed. My disagreement is portraying the counter > >> problem as impossible with the zodb. I think some people, as > >> evidenced by some of the responses, are willing to live with the

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 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 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] Re: ZMI / JavaScript brainstorm

2002-04-18 Thread Luca Manini
> "Chris" == Chris Withers <[EMAIL PROTECTED]> writes: > Well, is there any way I can easily tell emacs: > - If a file starts with or html-mode > - If a file starts with #, then go into python mode? Asking "is it possibile in Emacs..." ? You are joking! I did my

Re: [Zope-dev] Need to instantiate zclass in location other than current

2002-04-18 Thread Dieter Maurer
Max Slimmer writes: > I have created a zclass and want to create a new instance of this class and > have it be child of some other know object in the tree. > Given that we know the path (url) to the new prospective parent how do we do > this. You locate the destination object with "restrictedT

Re: [Zope-dev] how bad are per-request-write-transactions

2002-04-18 Thread Dieter Maurer
Ivo van der Wijk writes: > On Wed, Apr 17, 2002 at 07:54:04AM -0400, Paul Everitt wrote: > > Let's take the next step and say that you can live with a little > > volatility in the data. You write an object that caches ten seconds > > worth of writes. Whenever a write comes in at the over-t