摘要
Pushlet作为一个开源框架,是服务器推技术Comet的一个具体实现。研究了Pushlet推技术,分析Pushlet推技术框架并描述其核心类职责。重点分析Pushlet消息推送机制及其Web容器占用问题。利用Servlet异步特性对Pushlet框架进行优化,给出优化方案,实验证明优化的有效性。
As an open source framework, pushlet is a concrete realization of the comet technology. Researched on the pushlet server push technology, analyzed the framework and described the function of core classes. Focused on the analysis of pushlet message pushing mecha- nism and the threads occupying problem in web container. Optimized pushlet framework by using the asynchronous characteristics of serv- let, put forward optimization approaches. Studies show that this solution can effectively improve server performance and highly practical.
作者
张丽静
冼学辉
ZHANG Li-jing, XIAN Xue-hui (1. Information & Network Management Center, North China Electric Power University, Baoding 071003, China; 2. Department of Computer Science, North China Electric Power University, Baoding 071003, China)
出处
《电脑知识与技术》
2012年第8期5379-5382,共4页
Computer Knowledge and Technology
关键词
服务器推送技术
servlet容器
异步处理
性能优化
server push technology
servlet container
asynchronous processing
performance optimization