[Zope-dev] More resilient indexes
roche at upfrontsystems.co.za
Mon Sep 17 15:57:34 EDT 2007
Are the current indexing solutions that we have in Zope 2 and 3 the best
that we can have? Is there any way to improve the amount of concurrent
indexing a field or text index can handle. The Zope 3 implementation
doesn't look significantly different to the Zope 2 one in that it still
uses a BTree for forward and reverse index.
I have a basic stress test where 10 concurrent threads index 10 random
words in a FieldIndex and get too many conflict errors to even consider
this a usable scalable indexing solution. I don't really want to index
objects in another backend. I really would like to make the ZODB work
for me here.
Are there solutions here? Can one employ some of the QueueCatalog
conflict resolution strategies to make indexes more resilient? Or should
one use some locking strategy instead?
Upfront Systems http://www.upfrontsystems.co.za
More information about the Zope-Dev