
Zero Copy
cache007
这个作者很懒,什么都没留下…
展开
-
Zero Copy
原文出处: http://www.ibm.com/developerworks/library/j-zerocopy/ 传统的I/O 使用传统的I/O程序读取文件内容, 并写入到另一个文件(或Socket), 如下程序: File.read(fileDesc, buf, len); Socket.send(socket, buf, len); 会有较大的性能开转载 2016-04-21 16:21:37 · 298 阅读 · 0 评论 -
理解Netty中的零拷贝(Zero-Copy)机制
理解零拷贝 零拷贝是Netty的重要特性之一,而究竟什么是零拷贝呢? WIKI中对其有如下定义: “Zero-copy” describes computer operations in which the CPU does not perform the task of copying data from one memory area to another. 从W转载 2016-04-21 16:22:28 · 3393 阅读 · 0 评论