cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Klaasen (TeleRelay)" <tr-tklaa...@telerelay.com>
Subject RE: Cocoon 2.0 Scalability Disappointment
Date Wed, 05 Dec 2001 15:36:30 GMT
And a giveaway:

Use StringBuffers. Check for log.isDebugEnabled(). Especially in loops.
In May, this speeded up our application from 1s to 0.1s for certain
pages (a speedup of euh... has anyone studied advanced math? ;) )

tomK

> -----Original Message-----
> From: Gerhard Froehlich [mailto:g-froehlich@gmx.de] 
> Sent: vrijdag 30 november 2001 18:51
> To: cocoon-dev@xml.apache.org
> Subject: RE: Cocoon 2.0 Scalability Disappointment
> 
> 
> >1) disable logging. If log is DEBUG, it could generate Gigabytes of
> >information and disks could become the bottleneck.
> >
> >[I think log might be the bottleneck]
> >
> >2) disable resource reloading. Same as above, the disk I/O 
> system could
> >become the bottleneck.
> >
> >3) try to come up with some logarithmic stress tests: 1 req/sec, 2
> >req/sec, 4 req/sec, 8, 16, 32, 64, until your machines saturate.
> >
> >4) turn the cache off/on. [this, compared to the logaritmic approach
> >should give us information on the caching system]
> >
> >5) try to get the generated source code of one of your XSP, 
> compile it
> >as a generator and use it as a normal generator instead. [this should
> >remove the XSP loading/handling phase]
> 
> 6) Look at the store parameters (store,store-janitor,...) in the 
> cocoon.xconf file and customize them -as recommended in the 
> comments- for 
> your testing machine(s).
> 
> Cheers
> Gerhard
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message