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

Toby Dickenson tdickenson@geminidataloggers.com
Wed, 17 Apr 2002 15:33:32 +0100


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,=20
>you write the _v_ attribute to the persistent attribute.=20

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.

=46or 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=20
>you have *no* bloat problem. :^)

Is there one which is also low maintenance?


Toby Dickenson
tdickenson@geminidataloggers.com