Font Size: a A A

Design And Implementation Of Communication System Under Distributed Service Architecture

Posted on:2020-07-26Degree:MasterType:Thesis
Country:ChinaCandidate:X D JiangFull Text:PDF
GTID:2428330575955092Subject:Engineering
Abstract/Summary:PDF Full Text Request
Today's Internet technology continues to infiltrate all walks of life,and the scale of application systems continues to expand with the increase in the number of users.The architecture of software has evolved from a single application architecture to a vertical application architecture and finally to a distributed service architecture.Service-based splitting is widely used in large-scale enterprise application systems due to its advan-tages of loose coupling,decentralization,and flexible expansion.System service splitting has a series of advantages,but also presents new chal-lenges.First,the dependencies between services in a distributed environment will be?come more complex,and the information of services in the cluster needs to be managed by a service center.Second,as the business grows and the number of calls increases,the underlying modules need to withstand high concurrency and high availability.Fi?nally,the communication between services in the cluster is an urgent problem to be solved.To ensure the normal operation of the system after the service is split,a stable communication mechanism and corresponding protocol stack support are needed.Based on the above issues,the thesis investigates the specific business of the com-pany and implements a distributed service communication system that meets the busi-ness needs.Before the system design,the thesis mainly expounds the development of related technologies at home and abroad,and makes a comparison on the selection of similar technologies to determine the significance of the research.The communication system of the thesis is mainly divided into four modules:the service registry module is mainly responsible for the customization of the storage and routing of service in-formation under the distributed architecture.The communication module based on the Netty4 framework is mainly responsible for the information transmission of the un-derlying network and to provide the ability of interaction with the service registry.The protocol stack module is mainly responsible for the specification of the message format and to provide the ability of serialization and deserialization.The service fault-tolerant module is mainly responsible for the stability of the entire system and provides the robustness of service fuses,service recovery,and service alarms.The elaboration of each chapter of this thesis is based on software engineering ideas and methods.The thesis uses the use case diagram and use case text description to analyze the requirements of the system,uses 4+1 view to describe the overall ar-chitectural design,uses the class diagram,process diagram,timing diagram to describe the detailed design of the system and implement the communication system described in this thesis based on the above analysis.Finally,the thesis conducts functional and non-functional testing of each module of the system.Since the communication system is online,according to the data of the service monitoring,the response time of services is significantly shortened,and the single point pressure of the server is significantly reduced.While the stability and scalability of the overall business is improved,the cost of operation and maintenance is also significantly reduced.
Keywords/Search Tags:Distributed service, Communication protocol, Service routing, Fault tolerance
PDF Full Text Request
Related items