[Zope-dev] How to make Zope fail nicely under high load?

Toby Dickenson tdickenson at geminidataloggers.com
Thu Feb 12 03:19:34 EST 2004


On Thursday 12 February 2004 00:57, you wrote:

> One of the optimization we're thinking of is storing results of ZCatalog
> searches (e.g., number of replies to postings) in volatile variables so
> we don't have to run the catalog search at all.  We'd like to use memory
> space shared between threads for this.  Using ZEO would require us to
> store this in the ZODB.

Storing that in ZODB would be a bad idea. Theres no reason to think that this 
cache would be faster than ZCatalog.

I dont see why you would be *required* to store in ZODB... just dont share 
your cache between publisher threads on different Zope instances.

(my apologies if this is obvious)
-- 
Toby Dickenson




More information about the Zope-Dev mailing list