检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:龚黔芬[1]
机构地区:[1]重庆工商大学计算机科学与信息工程学院,重庆400067
出 处:《重庆文理学院学报(自然科学版)》2006年第1期18-20,共3页Journal of Chongqing University of Arts and Sciences
摘 要:分析了新、旧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.
分 类 号:TP393.07[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.73