[Zope] cache for python calls

2009-04-17 Thread iarly selbir | ski0s
I'm doing a hard task, trying to improve maximum of possible performance to Zope/Plone server, I already installed CacheFu that improved so much performance, I saw on a blog about cache for Python calls but wasn't explained about your configuration or installation. there are any related product

Re: [Zope] cache for python calls

2009-04-17 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Before starting with any kind of performance optimization: figure out your bottlenecks first by profiling your code: ZopeProfiler is your friend. - -aj On 17.04.2009 15:10 Uhr, iarly selbir | ski0s wrote: I'm doing a hard task, trying to improve

Re: [Zope] cache for python calls

2009-04-17 Thread iarly selbir | ski0s
This code isn't my, the server is hosting sites of many govern departments, so my task isn't develop the code but is keep all system working fine without down times. I'm not allowed to change the code, so I'm looking for all other reachable performance features. Regards, - - iarly selbir |

Re: [Zope] cache for python calls

2009-04-17 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Various knobs affect Zope performance...depending on each individual site and their programming and needs..serious further hints require a closer analysis. - -aj On 17.04.2009 15:27 Uhr, iarly selbir | ski0s wrote: This code isn't my, the server is

Re: [Zope] cache for python calls

2009-04-17 Thread iarly selbir | ski0s
No problem guy all test that I doing is on test environment xD, errors are acceptable, all problems solution are stored in my personal knowledge base heh Btw I'm reading about memoize installation I don't saw anything related to code changes Look: plone.memoize Installation

Re: [Zope] cache for python calls

2009-04-17 Thread Carsten Senger
iarly selbir | ski0s schrieb: I'm doing a hard task, trying to improve maximum of possible performance to Zope/Plone server, I already installed CacheFu that improved so much performance, I saw on a blog about cache for Python calls but wasn't explained about your configuration or

Re: [Zope] Cache

2008-06-25 Thread Kereoz
On Mon, Jun 23, 2008 at 6:55 PM, Andreas Jung [EMAIL PROTECTED] wrote: No idea what you're talking about. The standard Zope setup has nothing like a FS cache. There ZODB caches configured for each ZODB storage. And there is nothing like 'fs' under Control Panel - fs. If you have some 3rd party

Re: [Zope] Cache

2008-06-25 Thread Andreas Jung
--On 25. Juni 2008 13:01:32 +0100 Kereoz [EMAIL PROTECTED] wrote: On Mon, Jun 23, 2008 at 6:55 PM, Andreas Jung [EMAIL PROTECTED] wrote: No idea what you're talking about. The standard Zope setup has nothing like a FS cache. There ZODB caches configured for each ZODB storage. And there is

Re: [Zope] Cache

2008-06-25 Thread Kereoz
On Wed, Jun 25, 2008 at 1:13 PM, Andreas Jung [EMAIL PROTECTED] wrote: As you can see from the HTML code: something like app.Control_Panel.Database.name of storage.manage_minimize() should work. I was thinking about the zope command line tools such as zopectl or so. But in fact yes, seems

Re: [Zope] Cache

2008-06-25 Thread Andreas Jung
--On 25. Juni 2008 13:21:54 +0100 Kereoz [EMAIL PROTECTED] wrote: On Wed, Jun 25, 2008 at 1:13 PM, Andreas Jung [EMAIL PROTECTED] wrote: As you can see from the HTML code: something like app.Control_Panel.Database.name of storage.manage_minimize() should work. I was thinking about the

[Zope] Cache

2008-06-23 Thread Kereoz
Hi, I use Zope 2.8 and I edit files via ssh. I would like to disable the FS cache for some folders only (where I edit the files) so I don't have it to flush it after each modification. Alternatively, would it be possible to flush the FS cache in command line (rather than via ZMI) and only for a

Re: [Zope] Cache

2008-06-23 Thread Andreas Jung
--On 23. Juni 2008 18:17:31 +0100 Kereoz [EMAIL PROTECTED] wrote: Hi, I use Zope 2.8 and I edit files via ssh. I would like to disable the FS cache for some folders only (where I edit the files) so I don't have it to flush it after each modification. Alternatively, would it be possible to

Re: [Zope] Cache

2008-06-23 Thread Kereoz
On Mon, Jun 23, 2008 at 6:44 PM, Andreas Jung [EMAIL PROTECTED] wrote: --On 23. Juni 2008 18:17:31 +0100 Kereoz [EMAIL PROTECTED] wrote: Hi, I use Zope 2.8 and I edit files via ssh. I would like to disable the FS cache for some folders only (where I edit the files) so I don't have it to

Re: [Zope] Cache

2008-06-23 Thread Andreas Jung
--On 23. Juni 2008 18:48:20 +0100 Kereoz [EMAIL PROTECTED] wrote: On Mon, Jun 23, 2008 at 6:44 PM, Andreas Jung [EMAIL PROTECTED] wrote: --On 23. Juni 2008 18:17:31 +0100 Kereoz [EMAIL PROTECTED] wrote: Hi, I use Zope 2.8 and I edit files via ssh. I would like to disable the FS cache

[Zope] Cache values may only be in one cache

2007-02-19 Thread Jonas Nielsen
I'm getting the following error: Cache values may only be in one cache I'm getting this error every time I refresh my skin product. So I have to remember to restart zope every time I make a change. I'm running Plone 2.5.2 and Zope 2.9.6 On this page:

Re: [Zope] Cache values may only be in one cache

2007-02-19 Thread Peter Bengtsson
Product refreshing is a brilliant timesaver for development if it suits your development style. Some people prefer to restart Zope on every change which is the only option for Zope 2.9 and Zope 2.8. The error is somehow related to the use of the Session Manager I think. If you instead use my

Re: [Zope] Cache values may only be in one cache

2007-02-19 Thread Dieter Maurer
Jonas Nielsen wrote at 2007-2-19 13:54 +0100: I'm getting the following error: Cache values may only be in one cache I'm getting this error every time I refresh my skin product. I think this is a long standing bug in the auto refresh machinery. Do not use auto refresh and the problem should

Re: [Zope] Zope/Cache/Memory

2006-12-07 Thread Dieter Maurer
kevin7kal wrote at 2006-12-6 14:30 -0500: I have a database that is just under 200K objects with plans that it will grow larger. The objects are created by using another object with methods that read files and create the objects from the data in the files. When creating the objects, I find I

[Zope] Zope/Cache/Memory

2006-12-06 Thread kevin7kal
I have a database that is just under 200K objects with plans that it will grow larger. The objects are created by using another object with methods that read files and create the objects from the data in the files. When creating the objects, I find I have to manually clear the cache or else

Re: [Zope] Zope/Cache/Memory

2006-12-06 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On 6. Dezember 2006 14:30:40 -0500 kevin7kal [EMAIL PROTECTED] wrote: I have a database that is just under 200K objects with plans that it will Is there a way to programmatically clear the cache during a large indexing to avoid out of

Re: [Zope] Zope/Cache/Memory

2006-12-06 Thread Jonathan
- Original Message - From: kevin7kal [EMAIL PROTECTED] To: zope@zope.org Sent: Wednesday, December 06, 2006 2:30 PM Subject: [Zope] Zope/Cache/Memory I have a database that is just under 200K objects with plans that it will grow larger. The objects are created by using another

[Zope] Cache headers

2005-12-07 Thread Brian Sullivan
I am trying to ensure that zope delivered content (Zope 2.7 at this point) is upstream cacheable regardless of whether theusers delivered to are authenticated or not(currently my site is fronted by Cookie Crumbler based login/authentication). My understanding is that the way to do this is to

[Zope] Cache flipping?

2005-04-09 Thread Guillaume Tamboise
Chris Withers wrote: Darian V Schramm wrote: I'm getting many of these in my event.log 2005-03-15T10:17:56 INFO(0) ZEC:1-None-1 flipping cache files. new current = 1 This is nothing to worry abotu from a crashing point of view. Worry abotu it when you want to improve performance

[Zope-dev] Re: [Zope] Cache Parameters

2002-11-22 Thread Brian R Brinegar
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

Re: [Zope] Cache manager in zope 2.3.0b1

2001-01-24 Thread Bak @ kedai
-Original Message- From: Shane Hathaway [EMAIL PROTECTED] To: Bak@kedai [EMAIL PROTECTED] Date: Wednesday, January 24, 2001 9:10 PM Subject: Re: [Zope] Cache manager in zope 2.3.0b1 "Bak@kedai" wrote: From HelpSys for RAM CAche """ Finally, you can conf

Re: [Zope] Cache manager in zope 2.3.0b1

2001-01-24 Thread Shane Hathaway
"Bak @ kedai" wrote: sorry. my mistake. i think more info on how/what should/can be a cache key is good. currently, there's two cache key fields, one in the object itself, one in the cache manager instance. the field in object can contain more than one cache keys, while the cache key in

Re: [Zope] Cache manager in zope 2.3.0b1

2001-01-24 Thread Bak @ kedai
-Original Message- From: Shane Hathaway [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Wednesday, January 24, 2001 10:20 PM Subject: Re: [Zope] Cache manager in zope 2.3.0b1 Are you saying that entering multiple REQUEST variables doesn't work? Are you putting

[Zope] Cache manager in zope 2.3.0b1

2001-01-17 Thread [EMAIL PROTECTED]
From HelpSys for RAM CAche """ Finally, you can configure the list of REQUEST variables that will be used in the cache key. This can be a simple and effective way to distinguish requests from authenticated versus anonymous users or those with session cookies. """ so, if i access a particular DTML

RE: [Zope] Cache concerns (was zope/proxy_pass configuration problem)

2000-08-03 Thread T.J. Mannos
Ragnar, Caching is a subject I'm not all that familiar with but one I need to learn really fast. My site is about to go live, and I have a monster of a query that will bring my system to its knees if 100 students run it at a time. So I'm sending this off to the Zope mailing list wondering if

[Zope] Cache X MySQL

2000-06-26 Thread Rogerio Atem de Carvalho
Dear coleagues, I decided to use Zope as an Interface to maintain and search a touristic information database. All text is stored in MySQL tables and images will be stored outside the database, for cache reasons (I will keep only the path as TEXT columns in MySQL tables). My question is:

Re: [Zope] Cache

2000-05-18 Thread Dr. Peer Griebel
Jonothan Farr wrote: How can I disable the browser cache in my zope documents ? One thing you can do is set the 'Expires' header like so: dtml-call "RESPONSE.setHeader('Expires', _.DateTime().rfc822())" This works using Netscape. But for IE I had to use: dtml-call

RE: [Zope] Cache

2000-05-18 Thread Mabe, Brad
Does this work in IE5? I'm using similar META tags which work for IE4 and Netscape but don't work in IE5. -=Brad=- -Original Message- From: Dr. Peer Griebel [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 18, 2000 10:32 AM To: [EMAIL PROTECTED] Subject: Re: [Zope] Cache