On 4/25/07, Jukka Zitting <[EMAIL PROTECTED]> wrote:
Hi,

On 4/25/07, Alexandru Popescu ☀ <[EMAIL PROTECTED]> 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

Reply via email to