View RSS Feed

Java IO

Java I/O performance

Rate this Entry
by , 01-08-2012 at 12:40 PM (2255 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()
o isFile()
o exists()
Use cache to improve performance.

Submit "Java I/O performance" to Facebook Submit "Java I/O performance" to Digg Submit "Java I/O performance" to Submit "Java I/O performance" to StumbleUpon Submit "Java I/O performance" to Google