From dev-return-94096-apmail-cocoon-dev-archive=cocoon.apache.org@cocoon.apache.org Thu Apr 05 14:17:10 2007 Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 25275 invoked from network); 5 Apr 2007 14:17:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Apr 2007 14:17:05 -0000 Received: (qmail 57422 invoked by uid 500); 5 Apr 2007 14:17:10 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 57329 invoked by uid 500); 5 Apr 2007 14:17:10 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 57318 invoked by uid 99); 5 Apr 2007 14:17:10 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2007 07:17:10 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [213.133.33.40] (HELO smtp.is.nl) (213.133.33.40) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2007 07:17:01 -0700 Received: from [213.133.51.241] (HELO hai01.hippo.local) by smtp.is.nl (CommuniGate Pro SMTP 5.0.10) with ESMTP id 13156531 for dev@cocoon.apache.org; Thu, 05 Apr 2007 16:16:51 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: StoreJanitor (was: Re: Moving reduced version of CachingSource to core | Configuration issues) Date: Thu, 5 Apr 2007 16:16:39 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: StoreJanitor (was: Re: Moving reduced version of CachingSource to core | Configuration issues) Thread-Index: Acd3ix2UHpjtN7ZUS6O7r8zx+wkioAAAMR/A From: "Ard Schrijvers" To: X-Virus-Checked: Checked by ClamAV on apache.org >=20 > Configurable Store registration with StoreJanitor alleviates=20 > somewhat that=20 > problem, but not solves completely as you still have to=20 > properly configure all=20 > your cache sizes correctly to avoid OOM. >=20 > I think you can try combining Cocoon's MRU cache and EHCache=20 > to get best of both=20 > worlds. I have now 3 eventaware jcs caches and 1 eventaware MRU cache and 1 MRU = cache by default...it got=20 out of hand :-) >=20 >=20 > > I tried to explain the inevitable OOM of the StoreJanitor=20 > in combination of EHCache and > > the event registry in a high volume site.=20 >=20 > That's only highlights that current cocoon default config is=20 > not a viable option. true > I doubt that it is possible at all to make any programming=20 > system robust enough=20 > to withstand bad code. You can try though. It indeed almost seems the more robust I make it (even with a skeleton = generator creating an entire structure based on best practice), the more they try to break it :-)...no not = entirely true. The only problem is that it abstracts the basics even further, and since = we are outsourcing, they tend to sometimes forget what they are really doing and think about it. OTH, large sites = are running fine for months and this wasn't the case before I tried = making it robust. But I get your point :-) =20 Ard