[ZODB-Dev] Storage API corner cases

Toby Dickenson tdickenson at geminidataloggers.com
Mon Jun 2 15:19:37 EDT 2003


(oops, cc list too)

On Monday 02 June 2003 13:25, Toby Dickenson wrote:
> On Monday 02 June 2003 12:29, you wrote:
> > > Actually, it can cost a lot in ZEO cache verification.  It's importent
> > > to keep getSerial() cheap to make verification fast.
> >
> > How come the base class version isn't cheap?
>
> The base class loads the object pickle at the same time. For FileStorage
> that means a little extra I/O, and, if there is a back pointer involved,
> maybe two extra seeks. Its not obviously a large cost, but I can see it
> would be measurable if the ZEO cache is huge.

-- 
Toby Dickenson
http://www.geminidataloggers.com/people/tdickenson



More information about the ZODB-Dev mailing list