Font Size: a A A

Research On High Concurrency And High Performance Network Technology And Its Application In Network Chat Room

Posted on:2019-05-29Degree:MasterType:Thesis
Country:ChinaCandidate:L DingFull Text:PDF
GTID:2428330596462729Subject:Engineering
Abstract/Summary:PDF Full Text Request
With the development of new media technology,the network anchor's chat rooms are everywhere.The network broadcast mode is more and more popular by the younger generation with its innovation and keeping pace with the times.Its market potential is huge.Except text message,anchor chat rooms need to achieve a series of rich features such as authentication,sending gifts,interact with the anchor,broadcasting message,barrage,sensitive word filtering,the prevention of attacks and so on,and need to use less server carrying as many users as possible(concurrent users are one hundred thousand even million level),in order to save the web server overhead.Therefore,a certain requirement for the performance of the system is put forward.At present,some traditional chat rooms on the Internet are low in performance,and chat messages are not responded timely.Some are still using the way of client polling to get the latest chat data.90% of polling is doing useless work and increasing server pressure.In view of the above performance requirements and performance issues,deeply explore the network programming technology,and research the high concurrent and high-performance network models and software architecture.Through investigating and researching a large number of related literatures and books at home and abroad,and doing a large number of search,browsing and filtering on the internet,we study solutions and related performance test of C10K/C500 K issue deeply,clarify the difference between IO types,capabilities and limitations,analys the advantages and limitations of network server framework,compare various connection technology between the browser and the server.Through using comparative analysis of a large number of detailed and the characteristics of internet chat rooms,we take long connection of socket as the connection framework between the client and the server,use JSON as the main format that allow client and server exchanging data,use epoll model of linux to carry high concurrent user connections.Epoll belongs to the epoll multiplexing mechanism,it is a kind of improved poll in linux kernel for processing lots of file descriptors,it's very suitable for processing high concurrent connection;moreover,a series of technologies for high performance programming are used,such as multi-process programming,high performance NoSQL redis database,and so on.Business processing and data cache were separated,so the server structure becomes multi-layer,and we can optimize TCP network.Through the above technologies,we realize the high concurrent and high-performance real-time chat system and applied it to the production and operation of enterprises,save manpower and server costs for enterprises,enabling enterprises to manage and operate efficiently.
Keywords/Search Tags:new media, network broadcast, chat room, high concurrent, high-performance, server
PDF Full Text Request
Related items