On 5/23/12 11:10 AM, Isaac Schlueter wrote:
Yes, it happens.  In fact, it can happen quite often when you'er doing
a lot of large-ish reads and writes in parallel, and if you don't
account for it, then it does indeed suck.

That's why we have the fs.readFile and fs.writeFile functions for the
use case where you can store the entire file in memory, and the
fs.ReadStream and fs.WriteStream classes for the use cases where you
don't.

I'd like to see this point made in the documentation. Would a documentation patch to that effect be acceptable?

--
Alan - @bigeasy

--
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 nodejs@googlegroups.com
To unsubscribe from this group, send email to
nodejs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to