I've got a site that I've spent some time on optimizing. I have used both Ram caches and a proxy cache (in front of the site). My problem is that the site is not accessed very often. As a result, the caches are often empty when somebody happens to hit the site and then they pay the cost of filling the caches. How do people normally handle this? Is it possible to some how "schedule" a request in Zope to make sure that the caches are always filled? In order to fill the proxy server caches, I suppose the request has to originate from outside of Zope? Anyway, I'd be interested in hearing if other people have these kinds of issues and what they do about them. Thanks. -- Mike
On Wed, Jun 02, 2004 at 09:53:17AM -0400, Tiller, Michael (M.M.) wrote:
I've got a site that I've spent some time on optimizing. I have used both Ram caches and a proxy cache (in front of the site).
My problem is that the site is not accessed very often. As a result, the caches are often empty when somebody happens to hit the site and then they pay the cost of filling the caches. How do people normally handle this? Is it possible to some how "schedule" a request in Zope to make sure that the caches are always filled? In order to fill the proxy server caches, I suppose the request has to originate from outside of Zope?
On *nix, I'd probably just set up a shell script that fires off some wget requests, and set up a cron job that runs this script as often as I want. and/or configure the caches to not expire so quickly. -- Paul Winkler http://www.slinkp.com
I’ve got a site that I’ve spent some time on optimizing. I have used both Ram caches and a proxy cache (in front of the site).
My problem is that the site is not accessed very often. As a result, the caches are often empty when somebody happens to hit the site and then they pay the cost of filling the caches. How do people normally handle this? Is it possible to some how “schedule” a request in Zope to make sure that the caches are always filled? In order to fill the proxy server caches, I suppose the request has to originate from outside of Zope?
Anyway, I’d be interested in hearing if other people have these kinds of issues and what they do about them. Thanks.
Same issue here. Is there any way to (re)fill the ram cache from a python script? - I don't need to speak to a proxy server. /Anton
Anton Stonor wrote at 2004-6-7 20:18 +0200:
... Same issue here. Is there any way to (re)fill the ram cache from a python script? - I don't need to speak to a proxy server.
Such questions are best answered by looking at the available methods (--> source or "DocFinder"). You find the sources in "OFS/Cache.py" and "Products/StandardCacheManagers/*.py". -- Dieter
participants (4)
-
Anton Stonor -
Dieter Maurer -
Paul Winkler -
Tiller, Michael (M.M.)