Font Size: a A A

Research On DHT System Performance Optimization Technique

Posted on:2012-10-13Degree:MasterType:Thesis
Country:ChinaCandidate:Z P XiaoFull Text:PDF
GTID:2218330362950424Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
With the rapid development of the network, people have higher requirements on effective treatment and performance of the software applications. P2P download technology is widely applied to various types of popular download software today. DHT technology, as one of the most important P2P technologies, improvements and optimization to it has drawn increasing attention. However, the single-point performance of present popular DHT systems is generally low. How to optimize the DHT system to improve its performance has became an important issue facing today.In order to detect the performance bottlenecks of DHT system, firstly, this paper researches and analyses the DHT technology in detail. This paper analyzes the method of communication and interaction in the DHT network, relationship between KRPC protocol and DHT protocol. This paper researches the classical Kademlia algorithm in detail, and sums up the working mechanism of DHT network. This paper finds that the main problem arises in the design framework of DHT system.Secondly, based on the event request in the DHT, event-driven as the starting point, this paper analyzes the event-driven technology, summarizes three event-driven methods: event-driven method of single processing element, event-driven method of multi-processing element, event-driven method of object classes. For the advantages and disadvantages of the three methods, corresponding improvement is made and a new event-driven method based on reactor is proposed. Reactor-based event-driven is made up of four components: the reactor, the event source, event-handling routines and multiplexing mechanism. By pre-registering event and event notification mechanism, the system can handle the event in time and improve the system response speed. According to reactor-based event-driven method, this paper proposes and designs a system based on the mixture of the reactor-based event-driven and the hierarchy parallel message flow.Finally, according to the above system design scheme, this paper designs and implements a DHT system(Reactor-based DHT System) based on the mixture of the reactor-based event-driven and the hierarchy parallel message flow. Compared with the the most efficient DHT system at present– TRANSMISSION, in node effective time, system throughput, impact on DHT network and resource exploration rate, through the experiments, the performance of the DHT system designed in this paper is much higher than that of TRANSMISSION system. What is more, reactor-based DHT system has strong reusability, scalability and high degree of scalability.
Keywords/Search Tags:DHT, Event-driven, Reactor, Performance, Message flow
PDF Full Text Request
Related items