期刊文献+

解析Java中的阻塞I/O与非阻塞I/O控制 被引量:3

The Analysis of the Blocking I/O Method and Non-Blocking I/O Method in Java
下载PDF
导出
摘要 分析了新、旧I/O API工作原理及其可伸缩性方面的差异,阐述了如何用选择器通道技术让SocketChannel工作在非阻塞I/O模式下,以实现服务器与客户端无阻塞的、流畅的数据读写,使服务器能在较小的系统开销情况下更有效地、并发地为大量客户机提供服务,提升系统性能. In this paper,the basic principle about the I/O API in Java and the difference of extendence between the Blocking I/O method and Non - Blocking method are expounded. Through Selector and channel technology, we can manage the Socketchannel working on the Non - Blocking model, which ensured the server to run efficiently and consume less resources, thus provided the possibility and technical assistance for the server to parallel service thousands of clients.
作者 龚黔芬
出处 《重庆文理学院学报(自然科学版)》 2006年第1期18-20,共3页 Journal of Chongqing University of Arts and Sciences
关键词 阻塞I/O 非阻塞I/O 选择器 通道 Blocking I/O Non - Blocking I/O Selector Channel
  • 相关文献

参考文献1

二级参考文献3

  • 1DavidRButenhof著.ProgrammingWithPOSIXThreads[M].北京:中国电力出版社,.28-32.
  • 2W Richard Stevens.Advanced Programming in the UNIX Environment[M].Boston USA:Addison Wesley Publishing Company,1992.
  • 3WRichardStevens 施振川 等.UNIX网络编程[M].北京:清华大学出版社,1999..

共引文献1

同被引文献30

引证文献3

二级引证文献5

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部