Jann Forrer schrieb:
Hi Richard

I'm starting to have some performance issues and I'm trying everything I can to get past them.

I do have httpd serving out my css, javascript, and images in the css to bypass tomcat.

Anyone have any updated or better documentation for configuring ehcache than what we have on our website? I just looked, my cache file is 4.0 GB. I run a lot of publications, but that still seems unreal and is probably hurting me. I'm running our recommended settings from the production check list. What is going on here?

Also, anyone doing caching via httpd's mod_cache functionality?

I made some tests with mod_cache. Our problem was that i could not
delete mod_cache entries (from our authoring environment), so that the
publish workflow has no direct effect on the live page but you have to
wait until the cache entry expires.
If you can live with that drawback mod_cache certainly is a good and
fast solution

We're using mod_cache for an application, it's blazing fast - especially mod_mem_cache. The publishing scenario is indeed the major issue. It is not possible (or at least not straightforward) to delete particular pages, since a hash function is used to determine cache directory names. You're lucky if you can publish at night (given that you have traffic only from a limited set of time zones) and use e.g. a spider to pre-populate the cache. If you have only a limited number of pages that are frequently requested it might even be worth deleting the whole cache when a page is published, since the cache will be popluated again quickly.

-- Andreas




Richard

So it turns out our documentation does not fully identify the changes needed to get the ehcache to not use eternal entries. I will try to get it updated sometime this week.

One problem is that we use a quite old version of ehcache. I think it is
1.2. It seems that certain parameter as e.g. eternal
are not available for cache configuration in this version:

http://www.terracotta.org/confluence/display/integrations/EHCache+generic

At least we configure ehcache with eternal = false but that has no
effect :-(

HTH

Jann


--
Andreas Hartmann, CTO
BeCompany GmbH
http://www.becompany.ch
Tel.: +41 (0) 43 818 57 01


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to