摘要
随着信息时代的不断发展,Web技术更新迭代也越来越快。在当今社会条件背景下,Web技术正向着高性能、快响应、高保真、高效率、更安全的方向发展。目前,主流聊天室大多基于HTTP1.0或HTTP1.1的传统TCP协议架构。该协议层面的效率较为低下,资源占用率高,并发连线效率不稳定。通过对HTTP1.1的可拓展性研究,以搭建一个能够即时通信网络聊天室为样例,深入解释和讨论WebSocket的使用方法和优化建议,并对部分传递结构进行优化,以提高资源的利用率和运行效率。
With the continuous development of the information age,WEB technology update iterations are getting faster and faster.In today^s social conditions,WEB technology is developing towards high performance,fast response,high fidelity,high efficiency and security.Currently,mainstream chat rooms are mostly based on the traditional TCP protocol architecture of HTTP 1.0 or HTTP 1.1.The efficiency of the protocol is relatively low,the resource occupancy rate is high,and the efficiency of concurrent connection is unstable.Taking a web chat room capable of instant messaging as an example,through the research on the scalability of HTTP1.1,the use of WebSocket and optimization suggestions are explained and discussed in depth.At the same time,part of the transfer structure is optimized to improve resource utilization and operational efficiency.
作者
万琪伟
卢成林
WAN Qi-wei;LU Cheng-lin(Nanchang Institute of Technology,Nanchang Jiangxi 330099,China)
出处
《通信技术》
2018年第12期3038-3042,共5页
Communications Technology
基金
2018年南昌工程学院大学生创新创业训练计划项目(基于微信云平台讲座预约管理系统设计与开发)(No.YHCX-17-1-1)~~