[Zope-dev] ZEO client cache not working properly with beforestorage

Malthe Borch mborch at gmail.com
Tue Oct 25 09:43:20 UTC 2011


If I set my beforestorage to a reasonably current time, e.g. "now", I
expect to get reasonably good performance from a ZEO client cache.

Instead, I find that beforestorage:

  1) asks the cache to ``loadBefore``;
  2) but that method only looks for "noncurrent" entries;
  3) meanwhile, my cache only has "current" records.

I'm not sure if the problem is that the cache shouldn't be setting the
loaded oids as "current", or if the ``loadBefore`` method should also
accept (some) "current" entries.

\malthe


More information about the Zope-Dev mailing list