On Fri, May 11, 2012 at 11:07 AM, Joran Greef <[email protected]> wrote:

>
> Tim, I was looking at nStore's file implementation and saw you were
> serializing reads. Were you doing this only to use a shared read buffer, or
> does this also work with the disk better? I was thinking allowing multiple
> concurrent readers MVCC style would work better together with the
> filesystem cache.
>

I was doing that to prevent the fs threads from locking too much.
Initially I was doing everything concurrent and spent all my time in mutex
locks.  I'm no expert in threads and filesystem interaction.  I'm sure it
could have been done better, but I was unable to figure it out at the time.

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to