17 Apr
2002
17 Apr
'02
2:33 p.m.
On Wed, 17 Apr 2002 07:54:04 -0400, Paul Everitt <paul@zope.com> 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 lose the majority of counts for all the most frequently accessed counters. For this approach, the right implementation is to store the incremental count somewhere other than a persistent object.
Finally, you store all your counters in a non-versioned storage. Now you have *no* bloat problem. :^)
Is there one which is also low maintenance? Toby Dickenson tdickenson@geminidataloggers.com