摘要
为提高Java应用程序在网络I/0上的并发处理能力和处理效率,在阅读和研究现有的NIO框架源码的基础上,指出它存在的不足。结合Java SE7平台提出的异步I/0的新特性,将Proactor模式与Java NIO技术相结合,设计出一种新的网络I/0框架。并发测试的研究结果表明:与现有的主流的NIO框架相比,在同样的系统环境下,优化的网络I/O框架在并发处理能力和处理效率上都有明显的优势。
Based on reading and studying current source data of NIO framework,we point out its defects for improving the concurrentprocessing capability and processing efficiency of Java applications on network I/O.Then we integrate Proactor mode and Java NIO technologyin combination with the new characteristic of asynchronous I/O released on Java platform SE7,and design a new network I/O framework.Research result of concurrency tests show that,the optimised network I/O framework has clear advantages in concurrent processing capacityand processing efficiency compared with the mainstream NIO framework in same system environment.
出处
《计算机应用与软件》
CSCD
北大核心
2014年第9期110-113,共4页
Computer Applications and Software
基金
国家发改委信息安全产品专项基金项目(发改办高技20091886号)
国家创新基金项目(09C26224305084)