jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Guggisberg" <stefan.guggisb...@gmail.com>
Subject Re: Newbie Question - Performance
Date Wed, 28 Jun 2006 16:56:56 GMT
On 6/28/06, Vijay Pandey <vijay.k.pandey@gmail.com> wrote:
>  Hi,
>
> I am planning to use Jackrabbit and for a great # of users we only need to
> provide read only access and i was reading on the wiki section abvout
> performance, it says that
> ---------------------------------------------------------------
>  it's a good practice to share a single anonymous session for read only
> access if possible, it would reduce the time that write actions will take.
> ----------------------------------------------------------------
>
> Does it mean to say that 'session' is thread safe at method level for read
> only operations , or do we have to synchronize the call on session? or do
> you think should we have a pool of read only sessions ?

you can assume that Session (at least the jackrabbit implementation)
is thread-safe if it is used for *reading only*.

cheers
stefan

>
> Thanks
>  Vijay
>
>

Mime
View raw message