Is there a way in Zope 2.5 to see what kind of hit/miss ratio our cache is having? Currently we have 260,000 objects in our database and an ideal cache size of 10,000. And I'm not sure how often it's accessing the database. Thanks, -Brian On Fri, 22 Nov 2002, Toby Dickenson wrote:
On Friday 22 November 2002 10:18 am, Chris Withers wrote:
Brian R Brinegar wrote:
Within the Control_Panel/Database/ Cache Parameters there is a "Target max time between accesses" what is the Unit for this value? Seconds? Minutes? I haven't found it documented anywhere.
Best ask Toby Dickenson on the zodb-dev@zope.org list, he is the god of all things cache like ;-)
No need to go to a specific list. I am everywhere. ;-)
That parameter has been removed in Zope 2.6. Previously its units were in seconds, but the parameter that it controls does not relate to anything easily explained.
If you think you need to understand this parameter, then I think you need to upgrade to Zope 2.6
This is also something that improved greatly in 2.6. Doing this in 2.5 means hacking the source (hmmm, I think I lost that patch), and alot of meditation on the debugging output. You will still need a deep understanding of the pickle cache (the thing that was rewritten in 2.6) to asses the impact of any changes you might make. On Friday 22 November 2002 3:46 pm, Brian R Brinegar wrote:
Is there a way in Zope 2.5 to see what kind of hit/miss ratio our cache is having? Currently we have 260,000 objects in our database and an ideal cache size of 10,000. And I'm not sure how often it's accessing the database.
participants (2)
-
Brian R Brinegar -
Toby Dickenson