Thoughts on…

Java Middleware & Systems Management

Java IO Performance

with one comment

I thought I’d share a good article I just read on IO performance in a Java environment. It compares buffered versus non-buffered streams, both of which are synchronized for thread-safety, versus file channels which are unsynchronized. Going one step further, it also benchmarks the effect that buffer sizes (or “chunked” reads) have in each of those scenarios, as well as the consequence of memory-mapping those buffers.

The comparison to some of the predominant ways to read files in C towards the end adds some nice perspective.

http://nadeausoftware.com/articles/2008/02/java_tip_how_read_files_quickly

Advertisements

Written by josephmarques

September 29, 2009 at 9:20 pm

Posted in java

Tagged with

One Response

Subscribe to comments with RSS.

  1. Therefore i’m so very able to want. Here design of help that ought to be made available and not merely our own unintended falsehoods that will be rrn the remaining posts. Take advantage of your favorite swapping this fact most important doctor.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: