On 8.3.13 13:41, Jukka Zitting wrote:
Hi,
On Fri, Mar 8, 2013 at 3:32 PM, Michael Dürig <[email protected]> wrote:
2) Synchronize SessionDelegete.perform(), which effectively serializes *all*
JCR calls on a single session.
As mentioned earlier, this is what I'd do. A client for which this is
a problem can always open new sessions for improved concurrency.
Agreed. See https://issues.apache.org/jira/browse/OAK-687
Instead of a full blown synchronized block, we might be able to use a
read/write lock and only do full locking when a refresh becomes necessary.
Michael
BR,
Jukka Zitting