[Zope-dev] Re: ThreadSafeCounter
Tres Seaver
tseaver@digicool.com
Tue, 13 Feb 2001 22:47:18 -0500
> "Andy McKay" <andym@ActiveState.com> wrote:
>
> > | The ideal solution would be to use an object that lives in the ZODB,
> > | I wonder if there is a way to keep the 'object history' empty? That
> > | is, keeping the counter 'packed' while retaining 'object history'
> > | information on all other objects.
>
> That would work, however I just dont think that fits neatly into the ZODB in
> any way since all objects are appended.
Small confusion here: "ZODB" is a higher-level abstraction than
"FileStorage"; it is quite feasible to have one or more storages
inside your Zope which are "packless" / "undo-less", and which
then have the space efficiencies you are looking for (often at a
non-trivial time cost).
Tres.
--
===============================================================
Tres Seaver tseaver@digicool.com
Digital Creations "Zope Dealers" http://www.zope.org