Java I/O performance
by, 01-08-2012 at 11:40 AM (2056 Views)
Java has always issues with its I/O performance. To handle large amount of data, it will take significant amount of time. So you must tune and improve your I/O performance. It should be done on high priority by the developer.
Follow these rules to improve I/O performance.
• Minimize hard disk access.
• Minimize OS access.
• Minimize processing of individual bytes
Also you can consider following to improve your I/O performance.
• Buffering is used to minimize hard disk access.
• Use the NIO package.
• Minimize your calls to operating systems. Avoid using following methods.
o isDirecotory()• Use cache to improve performance.