1 / 5

Peer-to-Peer Search Algorithms

Peer-to-Peer Search Algorithms. Fundamental problem: search for a particular item in a network of peers without centralized servers Question: Where do you send your queries?. Controlled Flooding. S end the query for a particular item to known peer nodes ( i.e., neighbours)

voorhees
Download Presentation

Peer-to-Peer Search Algorithms

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Peer-to-Peer Search Algorithms Fundamental problem:search for a particular item in a network of peers without centralized servers Question:Where do you send your queries?

  2. Controlled Flooding • Send the query for a particular item to known peer nodes (i.e., neighbours) • The query will be forwarded by these neighbours to their own neighbours • Until the query finds itself to the peer node hosting the item, or until a particular TTL (Time-to-Live)has been reached • Those who have seen the original query will not forward it again • The query will not be sent back to where it came from • controlled flooding

  3. Controlled Flooding II. • Advantage: the search is fast • Since it is an expanded ring search • For a network of size n, it takes approximatelylog n hops to reach the item • Problem: too much message overhead for one search • Question: How do we save overhead?

  4. Gossip • Modify the forwarding mechanism in controlled flooding • so that each peer node will only forward thequery with a certain probability • Advantage: reduced message overhead • Problem: may not guarantee that the item can be found, if it exists

  5. Random Walker • Modify the query dissemination mechanism, so that the query is only sent to one of the neighbours, whois randomly chosen • Advantage: the overhead is further reduced • Problem: number of hops to reach the item is high, takes longer time to reach the item • The problem can be mitigated by using k parallel random walkers • rather than just one random walker • The problem can also be mitigated by replicating the item to more peer nodes • increasing its exposure torandom walkers

More Related