[Zope-Coders] Status of QueueCatalog?
Jim Fulton
jim@zope.com
Tue, 26 Nov 2002 13:43:14 -0500
Shane Hathaway wrote:
> Andreas Jung wrote:
>
>> Can someone give a short note on the status of QueueCatalog? Is it
>> ready for production?
>
>
> Well, it's *in* production. :-) One lesson we learned, though, is that
> you have to think about the number of buckets you need. The default is
> 1009, and they all have to be loaded into memory to flush or examine the
> queue. This was a big burden until we reduced it to 7 buckets. No
> problems since.
Each bucket is a single database record. You don't want the buckets to
get too big, or database updates would get to expensive. I'm surprised
that 1009 was that burdonsome. I do think that 7 is probably too low.
Jim
--
Jim Fulton mailto:jim@zope.com Python Powered!
CTO (888) 344-4332 http://www.python.org
Zope Corporation http://www.zope.com http://www.zope.org