You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by Simon Gash <Si...@gossinteractive.com> on 2005/03/16 18:29:55 UTC
RE: Adivce about session - Bayesian Filter detected spam
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 ?
-----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 viruses.
GOSS - Ranked 4th in the Deloitte Technology Fast 50 Awards 2004 and 88th in the Deloitte Technology Fast 500 EMEA.
Re: Adivce about session
Posted by Dominique Pfister <do...@day.com>.
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".
Regards
Dominique
>
> -----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 viruses.
>
> GOSS - Ranked 4th in the Deloitte Technology Fast 50 Awards 2004 and 88th in the Deloitte Technology Fast 500 EMEA.
>