Hi all,
We're currently CPU profiling an application which uses the SessionInView
pattern to create a new JCR session (with JackRabbit) for each request.

Profiling shows that around:
 - 11.4% of the CPU time is in releaseSession(). In particular around 5% of
this is in ItemManager.evictItem().
 - 0.08% of the CPU time is in getSession()

For each request the application is just reading a set of nodes (upto around
100) to generate a web page. We're using JackRabbit 1.2.1 with Oracle.

Any recommendations for how to resolve this overhead?
 - should we consider pooling sessions?
 - any way to optimise the session usage given the nodes are all read-only?

All help appreciated.
Regards,
Shaun.


                
___________________________________________________________ 
All New Yahoo! Mail – Tired of [EMAIL PROTECTED]@! come-ons? Let our SpamGuard 
protect you. http://uk.docs.yahoo.com/nowyoucan.html

Reply via email to