摘要: |
设计一种基于Ajax长轮询技术来实现服务器消息推送的在线答疑系统,并对系统的并发性能进行优化设计。与传统的客户端轮询服务器方式相比较,基于Ajax长轮询技术在线答疑系统的负载能力要明显大些。 |
关键词: 在线聊天 Ajax长轮询 消息推送 |
DOI: |
投稿时间:2012-06-12修订日期:2013-01-06 |
基金项目:广西科技计划创新能力建设项目(桂科能05112001-7C)资助。 |
|
Online Q&A System Design Method based on Ajax Long-polling |
TANG Zhao-lin1, GU Lin2
|
(1.Guangxi Teachers Education University, Nanning, Guangxi, 530023, China;2.Nanning Pingsoft New Technology Co. Limited, Nanning, Guangxi, 530004, China) |
Abstract: |
A new approach is designed for Online Q & A System based on Ajax long-polling to achieve messages pushing from server to clients.The concurrent performance of the system has been optimized and experimental results show that the proposed method has better performance than traditional client's poll method. |
Key words: online chat Ajax long-polling message pushing |