jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julian Reschke <julian.resc...@gmx.de>
Subject Re: session pooling
Date Sun, 20 Apr 2008 18:41:29 GMT
Tobias Bocanegra wrote:
>>> - in a pure read-only env, start with 1 session for each request or
>>> share the same session among all requests. if you think this could be
>>> a performance problem, implement a static or dynamic session pool.
>>>
>>  > ...
>>
>>  Hm. How is this going to work in a multi-threaded environment? The JCR spec
>> doesn't give any guarantees...
> that's true, but jackrabbit sessions are thread safe.

OK, but then it should be totally clear that this advice only applies to 
Jackrabbit.

Furthermore, do you want to guarantee that future Jackrabbit versions 
will behave the same way?

BR, Julian

Mime
View raw message