Font Size: a A A

The Research Of The Selection Of P2P Networks Node Based On IOCP Structure And Split Hybrid Model

Posted on:2017-06-07Degree:MasterType:Thesis
Country:ChinaCandidate:J H WuFull Text:PDF
GTID:2348330482498077Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
One of the hottest areas of internet technology is P2 P networks, and it play a role in the development of internet. Compared to the architecture of C/S, the scalability, robustness, and performance of P2 P networks can be enhanced remarkably. Each node of P2 P networks can be used as a server or a client. It can provide resources service for other nodes as a server and demand resources from other nodes as a client. The way is easy for us to share net resources. Currently, the technology of P2 P networks is widely used in many fields, for example resource sharing, data communication, distributed computation, cloud computation and so on. The application value of P2 P networks is being tapped constantly. Hence, P2 P networks have a wide range of application situations and play an important role in social development.P2P networks have two different kinds of nodes. One node which owns the characteristic of lasting online and high ability is called super node and the other which is weaker than the super code is called ordinary node. The super nodes is used for the management and maintenance of ordinary nodes. And the function of super nodes can also complete the query operation for the ordinary nodes not only relieves the burden of system quite drastically, but also improves the system performance. Therefore, the number of super node and the stability is the key factor of the performance of P2 P networks.The advantage of the super node network is to reduce the number of routing nodes, so as to improve the performance of the system. However, with the increasing of network size, the network structure of two layers of super nodes not only can't reduce the number of routing nodes, but also the topology structure and maintenance problems. In the face of the above problems, the paper made the following three points:(1) When P2 P node as a server, the node may be faced with a large number of connection requests at any time, and it puts forward higher requirements for service procedures. This paper studied the completion port model provided by the Windows platform deeply, and had analyzed and found three key reasons why do IOCP have high performance. In traditional IO request, IOCP increases processing and reduces the probability of thread switching and uses pre allocation method on the processing resources; IO data cache uses a lot of kernel memory mapping method. Experiments show that the use of these 3 technologies can greatly improve the efficiency of network communications.(2) In this paper, we propose a self-organizing method for topology construction of multi stage super nodes, the biggest advantage is the system automatically adjusts the super node hierarchy and load transfer, with the increase of the network size.(3) IOCP network model as the underlying communication infrastructure, we designed the underlying communication framework. In the framework, thread pool, buffer system performance optimization techniques are used. Developers only need to inherit and implement relevant interface or method so as to reduce the development cycle. On the basis of the underlying communication framework, the paper analyzes and designs the self-organizing of P2 P network system, and then introduces the function of each module in detail, at last realizes the function code of the whole system.
Keywords/Search Tags:completion port, I/O model, peer to peer network, self-organizing, topology structure, load balancing, super node
PDF Full Text Request
Related items