jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandru Popescu ☀" <the.mindstorm.mailingl...@gmail.com>
Subject Re: NGP: Value records
Date Wed, 25 Apr 2007 13:18:25 GMT
On 4/25/07, Jukka Zitting <jukka.zitting@gmail.com> wrote:
> 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.
>

I see. Now my next question is: how do you clean behind? If a value
becomes unreferenced will you or will you not clear it?

./alex
--
.w( the_mindstorm )p.

> BR,
>
> Jukka Zitting
>
Mime
View raw message