[Zope] Re: updating catalog takes forever (never really completes)

Chris Withers chrisw@nipltd.com
Wed, 25 Sep 2002 13:38:30 +0100


Luca Olivetti wrote:
> 
> Are you suggesting that accessing the objects' attributes will be no 
> more expensive than accessing the metadata?

No, but since you've decided that every form of caching is bad, you should do 
this, and then optimise ZCatalog (and all attributes you want to index that are 
methods) so that no metadata is required.

That then only leaves you the problem of solving the situation where you want to 
do batching of results without having to load every object you want to use into 
memory.

Oh, and the situation where, for example, you only want to know the URL and name 
of the object in the search result and don't want to have to drag the whole of, 
say, a 10Mb file object into memory just to do so.

But still, since you're happy to criticise the design of microprocessor 
architecure, I'm guessing this should be pretty easy for you ;-)

cheers,

Chris