NIO学习资料

五大IO模型

https://jiges.github.io/2018/02/07/%E4%BA%94%E5%A4%A7IO%E6%A8%A1%E5%9E%8B/

Getting started with new I/O (NIO)

https://www.ibm.com/developerworks/java/tutorials/j-nio/j-nio.html

 

Java NIO Tutoria

http://tutorials.jenkov.com/java-nio/index.html

注:NIO也表示Non-Blocking IO, 

 

Java IO using stream oriented APIs is performed using a buffer as temporary storage of data within user space.
Data read from disk by DMA is first copied to buffers in kernel space, which is then transfer to buffer in user space.
Hence there is overhead. Avoiding it can achieve considerable gain in performance.

posted @ 2018-04-13 09:47  Season2009  阅读(112)  评论(0编辑  收藏  举报