Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Only because it was the first thing that popped into my head, you can use async file IO in Java 7+ with the AsynchronousFileChannel class[1]

Currently digging through Google to see if I can find how those async calls are implemented on Linux/Windows to see if you can expect similar speedups in performance as Yoshinori saw in this article.

[1] http://openjdk.java.net/projects/nio/javadoc/java/nio/channe...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: