Re: mod_mem_cache & mod_disk_cache Issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxx> wrote:
> On 8/20/07, Paul <paul.marsh@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
>

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux