[Zope] conflicts, sessions, and programming best practices guidelines

Michael Dunstan michael.dunstan at gmail.com
Fri Nov 18 05:33:53 EST 2005


On 11/18/05, Chris McDonough <chrism at plope.com> wrote:
>
> On Nov 17, 2005, at 4:46 AM, Dennis Allison wrote:
>
> >
> > Thank Chris, good pointsB.
> >
> > The session variable timeout is currently several hours as requird
> > by our
> > application. The timeout resolution remains at its default value.
>
> Making the resolution higher has been observed to reduce conflicts
> (see dunny's chart).

If you sessions live for several hours then perhaps you want a
increase session-resolution-seconds to something like 1800 (30
minutes) or more.

Also worth seeing if increasing WRITEGRANULARITY of
Products.Transience.TransientObject helps you.

> > I have
> > not dorked with disabling the inband housekeeping.  I don't see how it
> > would impact on our problem.  Am I missing something?
>
> Turning off inband housekeeping has the potential to reduce the
> numnber of conflicts because less work is done during normal
> sessioning operations.  Instead of doing the work to figure out
> whether it needs to clean up after itself during "normal" operations
> it relies on an external process.

And it is not that difficult to do.

Michael.


More information about the Zope mailing list