期刊文献+

JAVA中的IOCP浅析

Introduction of IOCP in JAVA
下载PDF
导出
摘要 传统的C/S实现都是为每个请求创建一个独立的线程来处理客户的请求,但这种实现在客户端请求并发量巨大的情况时效率低下,于是出现了IOCP。本文从IOCP的基本概念和原理出发,比较IOCP与传统C/S实现的利弊,分析了Java中异步I/O和IOCP的具体实现,并以一个实例分析和介绍了IOCP在具体实践中的应用。 Traditional C/S creates a new thread to handle the request from each client,which is lack of efficiency when massive clients request service at the same time,so IOCP(Input/Output Completion Port) comes.This paper states basic conceptions and principle of IOCP,and compares the advantages and disadvantages of IOCP and C/S,and analyzes implementation detail of asynchronous I/O and IOCP,at last shows an example of IOCP.
作者 魏宏 胡镜林
出处 《科技广场》 2013年第8期83-87,共5页 Science Mosaic
关键词 C S 线程 IOCP C/S Thread IOCP
  • 相关文献

参考文献3

二级参考文献9

  • 1Richter J. Advanced Windows (3 edition) [M]. USA: Microsoft Press, 1997.
  • 2Beveridge J, Wiener R. Multithreading Applications in Win32: The Complete Guide to Threads (Addison-Wesley Microsoft Technology Series) [M]. USA: Addson-Wesley Professional, 1996.
  • 3Jones A, Ohhmd J. Network Programming for Microsoft Windows (2 edition) [M]. USA: Microsoft Press, 2002.
  • 4Jones A, Deshpande A. Windows Sockets 2.0: Write Scalable Winsock Apps Using Completion Ports [J]. MSDN Magazine, Microsoft Press, October 2000:30-35.
  • 5Asche R. Writing Windows NT Server Applications in MFC Using I/O Completion Ports [J].MSDN Magazine, Microsofl Press, September 1996:25-30.
  • 6Atanasova M, Cleeton L, Mike Flasko. Get Connected With The .Net Framework 3.5[J].MSDN Magazine, Microsoft Press, September 2007: 42-49.
  • 7Lee H, Park T. Design and Implementation of an Online 3D Game Engine [J]. Lecture Notes in Computer Science, Springer Berlin / Hei- delberg, 2004:837-842.
  • 8Kim G B. A method of generating massive virtual clients and model-based performance test [J]. Fifth International Conference on Quality Software, 2005:250-254.
  • 9陈和平,周静宁,顾晋广,张琳,李晓卉,杨玲贤,叶锋.IOCP机制与网络代理服务器实现方法[J].计算机应用,2003,23(4):109-110. 被引量:23

共引文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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