Font Size: a A A

The Design And Implementation Of A Distribute Service Framework System

Posted on:2018-06-05Degree:MasterType:Thesis
Country:ChinaCandidate:L Z LiFull Text:PDF
GTID:2428330563493046Subject:Software engineering
Abstract/Summary:PDF Full Text Request
In recent years,with the rapid development of the domestic Internet and the scale of application continues to expand,the conventional vertical application architecture has been unable to cope with the challenges of complex business.The core of the traditional vertical architecture transformation is to make the service transformation of the application,and the primary technical framework used in the service transformation is the distributed service framework.A distributed service framework system is designed and implemented based on the complex needs and performance requirements of business system,which can more easily respond to the rapid change of complex enterprise system integration and demand.The distributed framework system consists of five parts: network communication framework,RPC framework,CLI module,intermediate layer framework and application layer module.Application layer service component to initiate a service call through RPC framework,called message distribution by the middle layer framework to the remote service communication components,using network communication framework for remote service invocation,developers can be provided by the CLI module interface to manage distributed service system framework.The network communication framework uses the Reactor model and the I/O reuse model to complete the asynchronous IO communication function.The RPC framework provides a simple remote service invocation interface,which is simpler and the middle tier framework takes Actor mode as the design plan,which effectively atomize and parallelize services.In order to make the service more convenient,the command management is carried out through the CLI module,so that the operation and maintenance of the business system is more efficient and simple.The basic functional components provided by the application layer module enable the service framework system to have the ability to build distributed services.The distributed service framework designed by this system can dynamically publish and downline services,support real-time discovery of services,and timely push changes to service subscribers when service information changes.It also provides common service routing strategy and cluster fault tolerance strategy,which can monitor the running state of the service in real time.When the service state is abnormal,it will record logs,which is convenient for developers to track the boundary problem.The function test and performance test of the system are carried out.The test results show that the distributed service framework system implemented by this scheme has excellent performance,andshows very high processing capacity under the condition of high concurrent connection,which is simple and flexible to increase new business,and efficient in service management.
Keywords/Search Tags:Actor mode, Distributed service framework, Service govername
PDF Full Text Request
Related items