Re: ConflictError's worthwhile to note? (was: Re: [Zope-dev] Please vote about conflict errors logging)

2005-12-06 Thread Chris Withers

Dieter Maurer wrote:

  In a similar way, I could argue that MemoryErrors are there
  by design.

  While it is true that *occational* ConflictErrors are nothing
  to worry about, a higher rate indicates that you soon
  may come into trouble -- because the risk increases that
  the automatic retries will not be able to recover and
  your users will see errors.

Obviously, a ConflictError is far less important than
a MemoryError, but a higher rate of conflicts should be analysed
and if possible avoided.

The conflict rate is related to the quality of your application design. 
I like quality related information in my logfiles -- to be able

to take action before it is too late.


It's not often you get my and Dieter agreeing, but a huge +1 to all of 
this from me!


Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope )


ConflictError's worthwhile to note? (was: Re: [Zope-dev] Please vote about conflict errors logging)

2005-12-05 Thread Dieter Maurer
Jean-Marc Orliaguet wrote at 2005-12-4 22:28 +0100:
 ...
In the log flle I'd like to be informed about events that are 
unexpected. Conflict errors of this kind occur by design.

This argument is not convincing:

  In a similar way, I could argue that MemoryErrors are there
  by design.

  While it is true that *occational* ConflictErrors are nothing
  to worry about, a higher rate indicates that you soon
  may come into trouble -- because the risk increases that
  the automatic retries will not be able to recover and
  your users will see errors.

Obviously, a ConflictError is far less important than
a MemoryError, but a higher rate of conflicts should be analysed
and if possible avoided.

The conflict rate is related to the quality of your application design. 
I like quality related information in my logfiles -- to be able
to take action before it is too late.

-- 
Dieter
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )