摘要
网络聊天已经成为人们沟通的一种重要方式。在面对众多用户的情况下,一些聊天室由于性能低下已经无法满足人们的需要,这正是本文设计高并发高性能网络聊天系统的目的。本文详细分析各种提高服务器性能的方案,比较其优缺点,研究高并发高性能的软件架构,并将其应用到网络聊天中。本系统采用C/S架构,由客户端,服务端组成,客户端与服务端之间通过TCP来传递消息。
Internet chat has become an important way of communication between people.However,faced with many users,some chat rooms have been unable to meet people’s needs due to their poor performance,which is the purpose of designing high concurrent and high performance network chat system.This article will analyze in detail various solutions to improve server performance,compare their advantages and disadvantages,study high-concurrency and high-performance software architectures,and apply them to network chat.This system adopts C/S architecture,which consists of client and server,and the client and server pass messages through TCP.
作者
王林
WANG Lin(School of Instrument Science and Opto-electronics Engineering,Hefei University of Technology,Hefei 230009,China)
出处
《智能计算机与应用》
2020年第7期176-179,共4页
Intelligent Computer and Applications
关键词
网络聊天
高并发
高性能
C/S架构
Online chatting
High concurrency
High performance
C/S architecture