cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcelo F. Ochoa" <>
Subject Re: benchmarking Cocoon?
Date Mon, 21 Apr 2003 14:44:58 GMT
Geoff Howard wrote:

>>-----Original Message-----
>>From: Berin Loritsch []
>>John Morrison wrote:
>>>>From: Argyn []
>>>>Do you think there's a need for benchmarking Cocoon?
>>>Nice thought, but you know the saying; there's lies
>>>dam lies and benchmarks ;)
>>>What would you measure and what would you compare it
>>The only value in benchmarking Cocoon is when you do it
>>with itself.  If all hardware remains the same, then
>>software improvements become evident.
>No, that's great for developers already committed to cocoon, 
>but that's not a useful metric to those evaluating cocoon 
>against the other "options": straight JSP, filtered servlets, 
>struts, ASP, PHP, ColdFusion, Tea, XMLC, 
>&that-perl-xml-xslt-thing-that-i-can-never-remember-the-name; , 
>etc. etc. etc.
>I put options in quotes because there aren't a lot of java-xml- 
>xlst options out there.  Of course, it's almost impossible to 
>do apples to apples comparisons against those, but it is 
>reasonable to try.  If Cocoon takes 100 times as long on average 
>per page, it's not a viable option for people.  If it's fast, but 
>needs 10 times the memory, same thing (although memory is cheap now).  
>The first word out about Cocoon seems to be "neat but really slow 
>and a memory hog".  I wasn't around then, but it sounds like that 
>wasn't far off with Cocoon1.  If things have changed (as it sure 
>seems it has), it wouldn't be bad for business to "publish" some 
>kind of quantitative tests that prove that.  
>Cocoon offers so much in the way of SoC, etc. that it doesn't need 
>to be the fastest - it just needs to be in the game.
  This is not complete true. As Stefano said Cocoon 2 has a much better 
cache, you can exploit it.
  I have an extension for Cocoon cache system for using ESI invalidation 
protocol ( so, I can boost the performance 
of dynamic page (generated with databases values)  like an static a 
cached page.
  See this graph for performance result using a low end server:
   This graph show the performance of DBPrism CMS, which uses DBPrism 
(, but 
ESI invalidation protocol can be used in standard XSP pages too, using a 
simple logicsheet tag.
   A new implementation of ESI Invalidator Server for Cocoon2 is ready 
to be shipped with DBPrism 2.0.1 distribution, it is implemented using 
HSQLDB in memory database for storing the cached url pages, then this 
implementation is more scalable than the previous one which uses java 
Hash Maps.

  Best regards, Marcelo.

Marcelo F. Ochoa -
Do you Know DB Prism? Look @
More info?
Chapter 21 of the book "Professional XML Databases" (Wrox Press
Chapter 8 of the book "Oracle & Open Source" (O'Reilly
Lab. de Sistemas - Fac. de Cs. Exactas - UNICEN
Paraje Arroyo Seco - Campus Universitario
(7000) Tandil - Bs. AS. - Argentina
Te: +54-2293-444430 Fax: +54-2293-444431

View raw message