An Efficient Search Scheme Using Self-organizing Hierarchical Ring in Unstructured Peer-to-Peer Systems
نویسندگان
چکیده
We propose an efficient search scheme based on a self-organizing hierarchical ring structure in unstructured peer-to-peer systems. Our solution maintains a consistent super-peer ratio and makes the peers with relatively high capacities super-peers in dynamic environments. The benchmarking results show that the proposed algorithm outperforms the static algorithm that has the fixed number of rendezvous peers such as JXTA. In hierarchical unstructured peer-to-peer networks utilizing peers’ heterogeneity, super-peers with larger capacity form a super-peer network and serve their neighbors by storing the peers’ advertisements and forwarding the queries from their neighbors through flooding, random walk, or routing using DHT. While using DHT in rendezvous network makes the search in JXTA faster, there is no control mechanism of the number of super-peers when the network size is changed or the peers’ capacities are skewed in JXTA. Our solution provides an efficient P2P search algorithm based on a self-organizing hierarchical ring that maintains a consistent super-peer ratio in dynamic environment and keeps the peers with relatively high capacities as super-peers. This consists of four algorithms, agent population and distribution control algorithm, peer selection algorithm, query routing algorithm, and the Gossip algorithm. First, all peers collect the capacity information of neighboring peers via mobile agents. In order to reduce the excessive overhead by agents and collect sufficient information under dynamic peer-to-peer network, we should control the agent population appropriately. When an agent arrives at a peer, it computes the elapsed time, t, since the last agent arrived at the peer. If t is less than a termination threshold , the agent terminates itself. But if t is greater than a cloning threshold , a new agent is generated with probability and migrated to another peer as well as the previous one. The probabilistic cloning decision prohibit the excessive agent generation. If t is between and , the agent is migrated another peer based on the migration strategy. Under our migration strategy, each agent is likely to select the neighbor peers with the larger inter-arrival time of agents and smaller number of degree as a migration destination. Second, based on the capacity information of other peers collected by agents, each peer estimates the average capacity of the whole system. The peer whose capacity is ρ * This work was supported by the Brain Korea 21 project in 2006. 56 S. Han, J. Sohn, and S. Park times greater than the average increases its own counting variable, where ρ is determined by the ratio of super-peers. Otherwise, the peer decreases its counting variable. Using two thresholds for promotion and demotion, each super-peer decides to demote or not, and each leaf-peer decides to promote or not at every iteration. Third, unlike other hierarchical systems where peers directly reach super-peers, in order for peers to publish advertisements or send query requests through super-peers, each peer first have to look for any super-peer via random walk. When a super-peer is found, it directs the request to a destination super-peer using hash table. But if the super-peer that should store the requested advertisement does not store the advertisement, it forwards the request to its super-peer neighbors next to it on the super-peer view until the TTL is expired or find the super-peer that stores the advertisement. We call this process the super-peer walk. Last but not least, the super-peers in our system utilize the gossip algorithm [1] as a membership protocol to maintain loosely-consistent super-peer view. When the number of super-peers attending the gossip is N, at least log(N) + c of super peers will be fanout. Therefore, each super-peer generates gossip messages for the log(N) + c peers among the peer view, and then sends them to log(N) + c of randomly chosen super-peers. On receiving gossip messages, the super-peers update their peer view with the peer view information inside the messages. Using an event-driven simulator, we compared the performance of our selforganizing ring algorithm with that of JXTA when the size of the system is gradually increased. As we can see from Fig.1 (a), the number of success messages of our approach is larger than that of JXTA. This indicates that the peer view synchronizing protocol manages to handle the churn situation of super-peers in our approach. Moreover, Fig.1 (b) shows that the average search time of success messages in our approach is better than that in the JXTA. The search time depends largely on not only the traverse hop count but also the peers’ capacity. The self-organizing super-peer ring algorithm allows the peers with higher capacity to be promoted as super-peers and causes the peers with lower capacity to be demoted as non-super-peers continuously. As a result of that, our approach can handle more messages faster than the JXTA system with fixed member of super peers. For the overhead, our approach has more overhead messages than JXTA system due to the additional messages related to agents and the membership protocols as shown in Fig. 1 (c). Fig. 1. (a) Number of Success Messages (b) Average Search Time (c) Overhead
منابع مشابه
Unstructured Peer-to-Peer Networks: Topological Properties and Search Performance
Performing efficient decentralized search is a fundamental problem in Peer-to-Peer (P2P) systems. There has been a significant amount of research recently on developing robust self-organizing P2P topologies that support efficient search. In this paper we discuss four structured and unstructured P2P models (CAN, Chord, PRU, and Hypergrid) and three characteristic search algorithms (BFS, k-Random...
متن کاملAn Adaptive Routing Protocol for Ad Hoc Peer-to-Peer Networks
Ad hoc networks represent a key factor in the evolution of wireless communications. These networks typically consist of equal nodes that communicate without central control, interacting in a peer-to-peer way. In such a network, an efficient and scalable data retrieval constitutes a challenging problem. Unstructured P2P networks avoid the limitations of centralized systems and the drawbacks of s...
متن کاملUniversity of California Riverside Adaptive Data Dissemination and Content-driven Routing in Peer-to-peer Systems Iv Abstract of the Thesis Adaptive Data Dissemination and Content-driven Routing in Peer-to-peer Systems
OF THE THESIS Adaptive Data Dissemination and Content-Driven Routing in Peer-to-Peer Systems by Thomas S. Repantis Master of Science, Graduate Program in Computer Science University of California, Riverside, August 2005 Dr. Vana Kalogeraki, Chairperson Peer-to-Peer systems have emerged as a cost-effective means of sharing data and services and are offering fault-tolerance and self-adaptation in...
متن کاملEnhancing and Analyzing Search performance in Unstructured Peer to Peer Networks Using Enhanced Guided search protocol (EGSP)
Peer-to-peer (P2P) networks establish loosely coupled application-level overlays on top of the Internet to facilitate efficient sharing of resources. It can be roughly classified as either structured or unstructured networks. Without stringent constraints over the network topology, unstructured P2P networks can be constructed very efficiently and are therefore considered suitable to the Interne...
متن کاملDecentralized and Hierarchical Discovery of Software Applications in the iShare Internet Sharing System
We present the design and evaluation of a fully decentralized software application discovery scheme – iDiscover, which is used in the iShare Internet-sharing system being built at Purdue University. The scheme employs a structured peer-to-peer (P2P) overlay routing mechanism and a hierarchical name space. The structured P2P routing mechanism is self-organizing and scalable. The hierarchical nam...
متن کامل