Font Size: a A A

The Research And Implementation Of Distributed Service System Based On Publish-Subscribe

Posted on:2016-06-01Degree:MasterType:Thesis
Country:ChinaCandidate:R Q WuFull Text:PDF
GTID:2308330479493927Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
For application of distributed service, when the number of services increased, the invocation of the relationship between service becomes complex, and management of address of service becomes complicated, and change of address of service will affect the caller. This paper provides application of distributed service with a management center which used to manage services. And the caller can dynamically get service address from the management center, without having to manually configure address of service. Meanwhile, this paper uses technology of cluster to improve accessed efficiency of service which had large traffic. This not only increases the extensibility of the system, improves the efficiency and stability of the system, and reduces coupling between services, but also adapts to the changes of requirements of business. Therefore, in this Paper, first of all, the core modules of the existing system are extracted as an independent service, and then a system of distributed service based on publish-subscribe method is proposed and designed. The main research of this paper is as follows:1. Services is managed by management center in the system. Nodes which provided service publish information to management center, and nodes which requested service subscribe information from management center. Then the requester can dynamically get information of service and call the service.2. Communication between nodes is realized by Non-Blocking I/O mode in the system. Nodes which provided service and nodes which requested service communicate with management center by Non-Blocking I/O mode which avoid the shortage of Blocking I/O mode, and improve the rate of utilization in the system.3. Nodes which requested service select nodes which provided service through load balancing techniques of dynamic feedback mechanism, which avoid the nodes in thecluster at the imbalanced condition, and improve the efficiency of response in the system.According to the proposed research, this paper implements a basic system of distributed service. This paper has a test on management center and the technology of load balance, and has a overall test on system, then analyzes results of test.
Keywords/Search Tags:distributed service, publish-subscribe, Non-Blocking I/O, load balance
PDF Full Text Request
Related items