jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: NGP: Value records
Date Wed, 25 Apr 2007 13:13:59 GMT
Hi,

On 4/25/07, Alexandru Popescu ☀ <the.mindstorm.mailinglist@gmail.com> wrote:
> Another possible problem with the shared values approach is that in a
> concurrent environment accessing these may become a bottleneck as you
> will almost always need to serialize the access. Considering that
> reading is now a 2 step op then you will almost always need to
> synchronize on that access, and so this will lead to serialized access
> which not fit any concurrent environment.

How is that? I don't think any synchronization would be needed since
the value records would be immutable. You could even have separate
processes concurrently reading the same value files.

BR,

Jukka Zitting
Mime
View raw message