2009/01/02

Devoxx: Introduction to Asynchronous I/O (NIO.2) using the Grizzly Framework by Jean-Francois Arcand

I was hoping to get a general 'New NIO' overview, but Jean-François concentrated most of his talk discussing low-level Asynchronous IO usage patterns in Grizzly using New-NIO:
  • waiting for Java 7
  • 'Selector' and Notify principle
  • 'CompletionHandler' that uses a 'Future' to listen to the socket without wasting threads
  • thread pools: fixed, cached thread pools built-in to the kernel (but: risk of blocking the kernel!)
Other New NIO features in java.nio.file:
  • FileSystem
  • FileRef for having native symbolic links in Java
  • Path
  • FileStore
references:

1 comment:

Brownie Recipes said...

Thanks for posting this