Research and Implementation of Replication Management Related Problems Based on P2P System
|Course||Applied Computer Technology|
|Keywords||P2P Chord Replica Locating Consistency PeerMedSim|
At present, P2P technology is a hotspot in the field of network. It provides a kind of new method to obtain information and the whole concept of computer network. The P2P technology is making full use of sharing network resources effectively.Replica is an effective way to improve the availability and reliability in P2P system. With the emergence of large-scale network, we need to improve locating efficiency. With read-write dynamical files interacting, maintaining consistency is a fundamental requirement for P2P system.This paper proposes a two-tier locating model GpcChord that a topology-aware approach which uses group, proximity list and cache in replica locating. We propose an improved routing algorithm based on Chord. A new cache mechanism based on priority is proposed. The experimental results demonstrate that replica locating can reduce average access latency obviously and improve the routing performance effectively.In order to solve the problem of replica consistency, this paper improves the existing algorithm of a trace label, and presents a trace label using distance based consistency maintenance algorithm in unstructured P2P system. According to the topology of all the replica nodes and distance, node within overlay collection of nodes updates the address list of the message datagram with union of the trace label before transfering message to adjacent node. The experimental results show that the new consistency maintenance algorithm can largely reduce the number of the duplicated messages which is better adapted to the extension of dynamic P2P system.Finally, using the technology of replica proposed in the preceding chapters, we implement a P2P streaming simulator. On the basis, the experimental results show that the system has excellent feasibility and scalability.