With traditional platter (non-SSD) hard drives (and most DBs, which are reading from the disk if the data hasn't been cached to memory), it is most efficient to do multiple requests in parallel (rather than serial) because this allows the operating system to read the various bits of data from the disk in the optimal order using an elevator algorithm to minimize disk seeks (http://en.wikipedia.org/wiki/Elevator_algorithm).
Of course, there are limits to how many simultaneous files you can attempt to open -- if you're trying to open thousands of files, the https://github.com/isaacs/node-graceful-fs module can help manage things. -- -- 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 --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
