httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul <paul.ma...@gmail.com>
Subject Re: [users@httpd] mod_mem_cache & mod_disk_cache Issues
Date Tue, 21 Aug 2007 20:10:10 GMT
Joshua,

Thank you for the reply. I'll dig deeper into the list for the
disk_cache not storing files for the specified time.

I was under the impression that mem_cache would be faster. I had
planned on storing files that are accessed many times from a couple of
directories, ie, /xml/ or /images/ in memory so they'd just sit there
happily. Then for the dynamic parts of the site disk_cache could store
those requests.

I'll stick with just disk_cache for now.

-Paul

On 8/21/07, Joshua Slive <joshua@slive.ca> wrote:
> On 8/20/07, Paul <paul.marsh@gmail.com> wrote:
> > All,
> >
> > I am having a heck of a time with getting mod_cache to work properly.
> > I am trying to have it cache a mixture of static files and proxy
> > generated content.
> >
> > I'd greatly appreciate any suggestions.
> >
> > First with mod_mem_cache I am seeing entries in my logs like the
> > following for a URL content generated by a proxy-balancer backend :
>
> Are you using mem_cache and disk_cache simultaneously? Why?
>
> I'd recommend focusing on disk_cache, which is better tested and ofter
> more performant than mem_cache anyway.
>
> > Secondly my mod_disk_cache is not storing pages for the amount of time
> > specified. I can see that perhaps some requests get sent to the
> > backend and before it can reply a second one comes in.
>
> This issue has been discussed on the dev list at some length. There is
> really no easy way to handle it. You don't really want to hold all the
> other requests waiting for the first to finish. And if you try to
> stream the cached content to the other requests, you wind up in big
> trouble if something goes wrong with the first request.
>
> Joshua.
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message