Font Size: a A A

Distributed Instant Messaging System:Design And Implementation

Posted on:2021-11-06Degree:MasterType:Thesis
Country:ChinaCandidate:Y X KeFull Text:PDF
GTID:2518306575953879Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of mobile Internet and mobile terminal equipment,instant messaging software has gradually become an indispensable part of people's lives.Instant messaging software saves people's communication costs and adds to the fun of communication.However,most communication software on the market adopts closed source design,which increases the cost of developers.Therefore,formulating efficient network protocols,improving communication efficiency,and reducing communication traffic costs are still problems to be solved urgentlyThe distributed instant messaging system described in this article uses a distributed architecture design,the operating system uses Linux Release,and the communication protocol uses the Protocol Buffers protocol.This protocol is scalable,small in capacity,and supports customization.The server cluster management uses Zookeeper As the management center.The thesis first investigates the current development status of instant messaging systems,and proposes functional and non-functional requirements based on the infrastructure of the distributed system.According to the results of demand analysis,the system architecture design is completed.The system is divided into four-tier architecture from top to bottom: client,gateway,server,and distributed management.In this architecture design,the thesis carries out a detailed design,mainly including the design of single chat module,group chat module,and built-in command module.After that,the corresponding cache design and database design are given.Based on the above design ideas,the article adopts the Netty framework for system implementation.After the server is started,the IP address,port and other information are registered in Zookeeper.When the client sends a message to the server for the first time,the management center selects a message server to establish this user and The server is connected for information exchange.In the end,it can ensure the stable and efficient operation of the system under the huge number of users..Finally,it summarizes the related work of this article,analyzes the shortcomings of this system,and looks forward to the development of instant messaging system.In order to verify the practicability of the system,this article has fully tested all the functions of this instant messaging system,and the test results are shown.The function of this system is in line with expectations,it can be used as a commercial social software if it is improved later.
Keywords/Search Tags:Instant Message, Distributed, Protocol, Communication Model
PDF Full Text Request
Related items