Upload
pablo-moretti
View
919
Download
1
Embed Size (px)
Citation preview
Asynchronous IO
NOV 2011
I/O wait CPU
What exactly is "iowait" ?
To summarize it in one sentence, 'iowait' is the percentage of time the CPU is idle AND there is at least one I/O in progress.
What we can do ?
Take advantage of the manager I/O
Java NIO and IOJava IO
● Blocking● Stream Oriented
Java NIO● Non-blocking IO● Buffer Oriented
DEMOS
What are you doing?
Let's go to see CODE !!!
https://github.com/pablomoretti/async-java
Framework NIO
● Netty● Apache MINA● Vert.x● Node.js
@elsantob
Questions ?