cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@s-und-n.de>
Subject RE: FragmentExtractor getting and releasing Store every time?
Date Mon, 02 Jun 2003 12:02:28 GMT
Vadim Gritsenko wrote:
> >Now, the optimization I was refering to can only take place *if* you
> >know which implementation for a component is really used and *if*
> >this specific implementation is ThreadSafe. This is a dangerous
> >assumption! If you assume a component is implemented in a thread safe
> >manner and this changes sometime and you don't reflect these changes
> >than you will quickly result in threading problems.
> >
> 
> Not in this case though. I think you forgot that XSLTProcessor is 
> Recyclable, and not ThreadSafe.
> 
no :) - my comment was meant in general and not targetted at the store,
but yes, you're right, it's only dangerous if the own component is 
ThreadSafe.

Carsten

Mime
View raw message