RE: [Zope-dev] How to make Zope fail nicely under high load?
Erik:
using the _v_ variables won't work for this since different threads won't agree on who was latest. Its definitely a bad idea to do queries for these three data points. What about putting them in the temp_folder then you can still use ZEO with a bunch of clients that will all share the same data but you don't need to write the values to disk every time they change. Even putting them in a normal ZODB storage would be a _lot_ faster than doing a query.
You're right, _v_ wouldn't work. So with temp_folder (TemporaryStorage) there is basically no need for the SharedResource product anymore? For ZEO, my understanding is that we would still have to store the values in the ZODB, though. Regards, -- Bjorn
Bjorn Stabell wrote:
(..)For ZEO, my understanding is that we would still have to store the values in the ZODB, though.
You are able to store *and* share data over ZEO Clients in a TemporaryStorage by making the ZSS serve this TemporaryStorage to its ZCs. You could mount this storage as temp_folder I guess, but any other mount point would work too. Not sure, but I'd expect so, whether this has significant perfomance advantages over a 'normal' ZODB served by the ZSS. regards, jw -- Jan-Wijbrand Kolman jw@infrae.com
On Thu, 2004-02-12 at 10:06, Jan-Wijbrand Kolman wrote:
Bjorn Stabell wrote:
(..)For ZEO, my understanding is that we would still have to store the values in the ZODB, though.
You are able to store *and* share data over ZEO Clients in a TemporaryStorage by making the ZSS serve this TemporaryStorage to its ZCs. You could mount this storage as temp_folder I guess, but any other mount point would work too.
Cool, didn't know that.
Not sure, but I'd expect so, whether this has significant perfomance advantages over a 'normal' ZODB served by the ZSS.
regards, jw
-- Edward Muller - http://www.interlix.com - "Open Source Specialists" Dedicated Zope Hosting - Web Hosting - Open Source Consulting Network & PC Service & Support - Custom Programming Phone: 417-862-0573 - Cell: 417-844-2435 - Fax: 417-862-0572 Jabber: edwardam@jabber.interlix.com - AIM: edwardam453 - ICQ: 287033
participants (3)
-
Bjorn Stabell -
Edward Muller -
Jan-Wijbrand Kolman