J
John B. Matthews
This presentation compares Java synchronous (java.io.*) to asynchronous
(java.nio.*) I/O in a high volume SMTP application, finding a measurable
benefit for the former with modern threading libraries and multi-core
machines.
<http://www.mailinator.com/tymaPaulMultithreaded.pdf>
Some discussion may be found here:
<http://developers.slashdot.org/story/10/07/27/1925209>
The few times the choice has come up, we implemented synchronous I/O,
profiled it, found it met the requirements and declared victory. Lacking
much experience in this area, I'd welcome critical comments.
(java.nio.*) I/O in a high volume SMTP application, finding a measurable
benefit for the former with modern threading libraries and multi-core
machines.
<http://www.mailinator.com/tymaPaulMultithreaded.pdf>
Some discussion may be found here:
<http://developers.slashdot.org/story/10/07/27/1925209>
The few times the choice has come up, we implemented synchronous I/O,
profiled it, found it met the requirements and declared victory. Lacking
much experience in this area, I'd welcome critical comments.