the performance of libeio #1446
Description
I found nodejs use libeio as file system aio lib. And the latter uses threads and synchronous io to implement aio. I read this mail list http://groups.google.com/group/nodejs/browse_thread/thread/aff97d25c59f6f2d and I think that it may be a trade off between portability and performance. But I'm worry about that file io would become the performance issues.
I try to do some test for file reading in my pc. I start 100 concurrent requests to read a file which size is 1.5M 10,000 times.
And the result of throughput is that 6MB/s per request in nodejs while 280MB/s in Java.
Does that mean nodejs is not suitable to do intensive tasks for file io?
Is there any suggestion to tune the performance of file io in practice?
Sorry for rehashing this old discussion.
Thank you and good luck :)