jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Pfister <dominique.pfis...@day.com>
Subject Re: Adivce about session
Date Wed, 16 Mar 2005 17:52:58 GMT
Simon Gash wrote:
> I would agree any expensive resource usage is going to affect
> scalability, hence a keeping a session open should improve scalability.
> However I thought that a session is tied to a user and workspace. Surely
> this would cause problems ?

Sorry for not being clear enough. Jackrabbit's javax.jcr.Session 
implementation creates some helper objects that help maintain and cache 
the states of items. Losing the information inside those helper objects 
was what I was referring to when talking about "components that are tied 
to a session".


> -----Original Message-----
> From: Dominique Pfister [mailto:dominique.pfister@day.com] 
> Sent: 16 March 2005 16:28
> To: jackrabbit-dev@incubator.apache.org
> Subject: Re: Adivce about session - Bayesian Filter detected spam
> Bertrand LEGA wrote:
>>Personnally, I would prefer the solution 2.
>>What do you think about it ?
> Well, creating a session on every processing of a JSP page would rather
> be expensive. There are a lot of components inside Jackrabbit that are
> tied to a session and maintain internal caches that speed up processing
> and therefore assembling and discarding this information on every JSP
> invocation would be a pity. For this reason I would also tend to
> solution 2.
> Regards
> Dominique
> This email contains proprietary information, some or all of which may be legally privileged.
It is for the intended recipient only. If an addressing or transmission error has misdirected
this email, please notify the author by replying to this email. If you are not the intended
recipient you may not use, disclose, distribute, copy, print or rely on this email. 
> Email transmission cannot be guaranteed to be secure or error free, as information may
be intercepted, corrupted, lost, destroyed, arrive late or incomplete or contain viruses.
This email and any files attached to it have been checked with virus detection software before
transmission. You should nonetheless carry out your own virus check before opening any attachment.
GOSS Interactive Ltd accepts no liability for any loss or damage that may be caused by software
> GOSS - Ranked 4th in the Deloitte Technology Fast 50 Awards 2004 and 88th in the Deloitte
Technology Fast 500 EMEA.

View raw message