SlideShare a Scribd company logo
1 of 28
Download to read offline
Searching in P2P networks
Mohamed Elsharnouby - Istanbul Sehir University
P2P networks
Structured:
- CAN
- Chord
- Tapestry
- Pastry
- Viceroy
Unstructured:
- Freenet
- Gnutella
- BitTorrent
Structured
Pros:
- Can search any resource even if rare
- Search is more efficient as it exploits the
structure
Cons:
- Not very robust and resilient as
unstructured
- Overhead of maintaining the structure with
joining and leaving peers
Pros:
- More resilient to failures
- Better handling of joining/leaving peers
- Allow better optimization of routing by
changing the overlay structure
Cons:
- Rare resources are harder to find if found
at all
- Searching can flood and overload the
whole network
Unstructured
Search in Structured Networks
Content
Addressable
Network (CAN)
CAN
Multidimensional Cartesian
coordinate space on a multi-torus
Each peer has a neighbour list
Routing performance is O( × N1/
)
CAN
Joining: by splitting an existing peer’s
zone into half
Neighbour list: transferred from the
old peer - updated for all neighbouring
peers
Leaving: a neighboring peer takes over
its space and the neighbour lists are
updated
CAN improvement
Multiple coordinate spaces (realities)
with different place for each peer,
same place for data
Increasing dimensions: gives better
routing. But both are needed
Overloading zones: more data
availability - fault tolerance - shorter
routing
Topological awareness of IP network
Using multiple hash functions:
increases data availability
Chord
Chord
Peers are organized around a circle
according to their ID which is an m-bit
ID assigned by a uniform hashing
function
Each data item is assigned an ID on
the same circle and assigned to its
successor peer
Routing takes O(log N) if peer
information is up to date
Chord
Each peer carries a finger table for
info of peers which are successors of
IDs that increase by a power [ hence
the O(log N) routing ]
Resilience is increased by maintaining
another list of length r of the peer’s
direct successors
Joining and leaving: needs successor
keys to be updated which is done by a
stabilization protocol that runs
periodically in the background
Chord
It needs O(log N) for routing, much
better than CAN
Needs O(log2
N) which is worse than
CAN which requires O(2 x d)
Could make some use of CAN
improvements ideas as multiple
realities
Cannot take into account IP topology
Tapestry
Tapestry
The nth peer that the message
reaches shares a suffix of at least
length n with destination ID
Routing takes O(logb
N) where b is the
base of IDs
Uses multiple roots for each data
object to avoid single points of failure
Robustness is increased by making
the neighbour map maintain two
backup peers in addition to the
primary ones
Pastry
Pastry
Same as Tapestry
Doesn’t have optimization for locality
of peers
Less efficient replication algorithm
Viceroy
Viceroy
- General Ring: every node is
connected to its successor and
predecessor
- Level Ring: every node is
connected to others on ring
- Butterfly: every level L:
- Down right edge that is
added to a long range
- Down left edge to close
range
- Up edge to close range
Routing performance is O(log N)
Search in Unstructured Networks
Freenet
Freenet
It uses Steepest Ascent Hill Climbing
with backtracking algorithm
It caches the found file in the path
peers => improvement of routing
Anonymity is one of the main
properties of the network
Least Recently Used (LRU) is the basic
cache replacement algorithm
An enhanced algorithm for cache
replacement could be used for cache
replacement
Freenet
Enhanced-clustering with Random
Shortcut
It uses the concept of small world by
choosing the farthest node in the
cache
If the new added node is closer it
replaces in the cache
If it’s farther with a certain probability
it replaces
The choice of optimum is still an
open question
Gnutella
Gnutella
Routing through the network is mainly
done by flooding (BFS) with certain
TTL and limit of hops
This causes high overload of the
network when too many nodes join
To join a client connects to one of the
peers and broadcasts its content by
flooding as well
A concept of ultra peers with higher
bandwidth is introduced to carry the
network routing and search operations
for its leaves
BitTorrent
BitTorrent
A centralized P2P system
It cuts files into pieces of fixed size
(256 Kbytes each) and hashes them
with SHA1 to confirm integrity of data
A client needs to connect to Tracker
that gives the client a set of random
peers having the file needed
A downloaded piece could be seeded
DHT introduced trackerless BitTorrent
Questions?
Thank you

More Related Content

What's hot

Peer-to-Peer Systems
Peer-to-Peer SystemsPeer-to-Peer Systems
Peer-to-Peer SystemsUwe Schmidt
 
Introduction to Peer-to-Peer Networks
Introduction to Peer-to-Peer Networks Introduction to Peer-to-Peer Networks
Introduction to Peer-to-Peer Networks Venkatesh Iyer
 
P2P Seminar
P2P SeminarP2P Seminar
P2P SeminarCoRehab
 
Citcism on Peer to peer networking
Citcism on Peer to peer networkingCitcism on Peer to peer networking
Citcism on Peer to peer networkingWebix.pk
 
Peer to peer data management
Peer to peer data managementPeer to peer data management
Peer to peer data managementJunaid Lodhi
 
Peer to Peer vs Client/Server Network By Ahnaf
Peer to Peer vs Client/Server Network By AhnafPeer to Peer vs Client/Server Network By Ahnaf
Peer to Peer vs Client/Server Network By Ahnafahnarokz
 
Data communication and computer networks | Network Topologies
Data communication and computer networks | Network TopologiesData communication and computer networks | Network Topologies
Data communication and computer networks | Network TopologiesMSA Technosoft
 
Lecture 1 networking & internetworking
Lecture 1 networking & internetworkingLecture 1 networking & internetworking
Lecture 1 networking & internetworkingMd. Mashiur Rahman
 
Networking Basics
Networking BasicsNetworking Basics
Networking BasicsR G Mani
 
Computer network
Computer networkComputer network
Computer networkNeha Gupta
 
Hcs Topic 4 Networks V2
Hcs Topic 4 Networks V2Hcs Topic 4 Networks V2
Hcs Topic 4 Networks V2Naruin
 
Hcs Topic 4 Networks V2
Hcs Topic 4 Networks V2Hcs Topic 4 Networks V2
Hcs Topic 4 Networks V2ekul
 
Introduction To Computer Networks
Introduction To Computer Networks Introduction To Computer Networks
Introduction To Computer Networks AfsanaAkterRubi
 

What's hot (20)

Peer-to-Peer Systems
Peer-to-Peer SystemsPeer-to-Peer Systems
Peer-to-Peer Systems
 
Peer to peer system
Peer to peer systemPeer to peer system
Peer to peer system
 
Introduction to Peer-to-Peer Networks
Introduction to Peer-to-Peer Networks Introduction to Peer-to-Peer Networks
Introduction to Peer-to-Peer Networks
 
P2P Seminar
P2P SeminarP2P Seminar
P2P Seminar
 
Peer Sim & P2P
Peer Sim & P2PPeer Sim & P2P
Peer Sim & P2P
 
Citcism on Peer to peer networking
Citcism on Peer to peer networkingCitcism on Peer to peer networking
Citcism on Peer to peer networking
 
Final peersimp pt
Final peersimp ptFinal peersimp pt
Final peersimp pt
 
Peer to peer data management
Peer to peer data managementPeer to peer data management
Peer to peer data management
 
Overlay network
Overlay networkOverlay network
Overlay network
 
Peer to Peer vs Client/Server Network By Ahnaf
Peer to Peer vs Client/Server Network By AhnafPeer to Peer vs Client/Server Network By Ahnaf
Peer to Peer vs Client/Server Network By Ahnaf
 
Computer network basics
Computer network basicsComputer network basics
Computer network basics
 
Data communication and computer networks | Network Topologies
Data communication and computer networks | Network TopologiesData communication and computer networks | Network Topologies
Data communication and computer networks | Network Topologies
 
Computer networking 1
Computer networking 1Computer networking 1
Computer networking 1
 
Lecture 1 networking & internetworking
Lecture 1 networking & internetworkingLecture 1 networking & internetworking
Lecture 1 networking & internetworking
 
Networking Basics
Networking BasicsNetworking Basics
Networking Basics
 
Computer network
Computer networkComputer network
Computer network
 
Hcs Topic 4 Networks V2
Hcs Topic 4 Networks V2Hcs Topic 4 Networks V2
Hcs Topic 4 Networks V2
 
Hcs Topic 4 Networks V2
Hcs Topic 4 Networks V2Hcs Topic 4 Networks V2
Hcs Topic 4 Networks V2
 
Introduction To Computer Networks
Introduction To Computer Networks Introduction To Computer Networks
Introduction To Computer Networks
 
Computer network_network devices
Computer network_network devicesComputer network_network devices
Computer network_network devices
 

Similar to Searching in P2P Networks: Structured vs Unstructured

JPN1418 PSR: A Lightweight Proactive Source Routing Protocol For Mobile Ad H...
JPN1418  PSR: A Lightweight Proactive Source Routing Protocol For Mobile Ad H...JPN1418  PSR: A Lightweight Proactive Source Routing Protocol For Mobile Ad H...
JPN1418 PSR: A Lightweight Proactive Source Routing Protocol For Mobile Ad H...chennaijp
 
Wireless sensor network
Wireless sensor networkWireless sensor network
Wireless sensor networkJamia Hamdard
 
Evaluation of a topological distance
Evaluation of a topological distanceEvaluation of a topological distance
Evaluation of a topological distanceIJCNCJournal
 
Research Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and ScienceResearch Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and Scienceinventy
 
Achieving congestion diversity in multi hop wireless mesh networks
Achieving congestion diversity in multi hop wireless mesh networksAchieving congestion diversity in multi hop wireless mesh networks
Achieving congestion diversity in multi hop wireless mesh networksieeeprojectschennai
 
Network Connecting Devices UNIT 5
Network Connecting Devices UNIT 5Network Connecting Devices UNIT 5
Network Connecting Devices UNIT 5Raj vardhan
 
Peer to peer Paradigms
Peer to peer ParadigmsPeer to peer Paradigms
Peer to peer Paradigmshassan ahmed
 
Routing in Mobile Ad hoc Networks
Routing in Mobile Ad hoc NetworksRouting in Mobile Ad hoc Networks
Routing in Mobile Ad hoc NetworksSayed Chhattan Shah
 
Influence of Clustering on the Performance of MobileAd Hoc Networks (MANETs)
Influence of Clustering on the Performance of MobileAd Hoc Networks (MANETs)Influence of Clustering on the Performance of MobileAd Hoc Networks (MANETs)
Influence of Clustering on the Performance of MobileAd Hoc Networks (MANETs)Narendra Singh Yadav
 
Presentation MANETs.pptx
Presentation MANETs.pptxPresentation MANETs.pptx
Presentation MANETs.pptxpriyam219327
 
Presentation MANETs.pptx
Presentation MANETs.pptxPresentation MANETs.pptx
Presentation MANETs.pptxSujit833143
 

Similar to Searching in P2P Networks: Structured vs Unstructured (20)

JPN1418 PSR: A Lightweight Proactive Source Routing Protocol For Mobile Ad H...
JPN1418  PSR: A Lightweight Proactive Source Routing Protocol For Mobile Ad H...JPN1418  PSR: A Lightweight Proactive Source Routing Protocol For Mobile Ad H...
JPN1418 PSR: A Lightweight Proactive Source Routing Protocol For Mobile Ad H...
 
Wireless sensor network
Wireless sensor networkWireless sensor network
Wireless sensor network
 
UNIT-3 Adhoc.pptx
UNIT-3 Adhoc.pptxUNIT-3 Adhoc.pptx
UNIT-3 Adhoc.pptx
 
Evaluation of a topological distance
Evaluation of a topological distanceEvaluation of a topological distance
Evaluation of a topological distance
 
Mod5
Mod5Mod5
Mod5
 
Ods chapter7
Ods chapter7Ods chapter7
Ods chapter7
 
An Insight on Routing
An Insight on RoutingAn Insight on Routing
An Insight on Routing
 
Research Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and ScienceResearch Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and Science
 
Networking lecture1
Networking lecture1Networking lecture1
Networking lecture1
 
Achieving congestion diversity in multi hop wireless mesh networks
Achieving congestion diversity in multi hop wireless mesh networksAchieving congestion diversity in multi hop wireless mesh networks
Achieving congestion diversity in multi hop wireless mesh networks
 
Ospf
OspfOspf
Ospf
 
unit5-190409094326.pdf
unit5-190409094326.pdfunit5-190409094326.pdf
unit5-190409094326.pdf
 
Network Connecting Devices UNIT 5
Network Connecting Devices UNIT 5Network Connecting Devices UNIT 5
Network Connecting Devices UNIT 5
 
Peer to peer Paradigms
Peer to peer ParadigmsPeer to peer Paradigms
Peer to peer Paradigms
 
Routing protocols
Routing protocolsRouting protocols
Routing protocols
 
Routing in Mobile Ad hoc Networks
Routing in Mobile Ad hoc NetworksRouting in Mobile Ad hoc Networks
Routing in Mobile Ad hoc Networks
 
Gurpinder_Resume
Gurpinder_ResumeGurpinder_Resume
Gurpinder_Resume
 
Influence of Clustering on the Performance of MobileAd Hoc Networks (MANETs)
Influence of Clustering on the Performance of MobileAd Hoc Networks (MANETs)Influence of Clustering on the Performance of MobileAd Hoc Networks (MANETs)
Influence of Clustering on the Performance of MobileAd Hoc Networks (MANETs)
 
Presentation MANETs.pptx
Presentation MANETs.pptxPresentation MANETs.pptx
Presentation MANETs.pptx
 
Presentation MANETs.pptx
Presentation MANETs.pptxPresentation MANETs.pptx
Presentation MANETs.pptx
 

Recently uploaded

Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作ys8omjxb
 
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一Fs
 
Contact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New DelhiContact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New Delhimiss dipika
 
Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Sonam Pathan
 
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Dana Luther
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012rehmti665
 
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一z xss
 
Git and Github workshop GDSC MLRITM
Git and Github  workshop GDSC MLRITMGit and Github  workshop GDSC MLRITM
Git and Github workshop GDSC MLRITMgdsc13
 
PHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 DocumentationPHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 DocumentationLinaWolf1
 
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一Fs
 
Complet Documnetation for Smart Assistant Application for Disabled Person
Complet Documnetation   for Smart Assistant Application for Disabled PersonComplet Documnetation   for Smart Assistant Application for Disabled Person
Complet Documnetation for Smart Assistant Application for Disabled Personfurqan222004
 
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)Christopher H Felton
 
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls KolkataVIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书zdzoqco
 
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts servicevipmodelshub1
 
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一3sw2qly1
 
Call Girls Service Adil Nagar 7001305949 Need escorts Service Pooja Vip
Call Girls Service Adil Nagar 7001305949 Need escorts Service Pooja VipCall Girls Service Adil Nagar 7001305949 Need escorts Service Pooja Vip
Call Girls Service Adil Nagar 7001305949 Need escorts Service Pooja VipCall Girls Lucknow
 

Recently uploaded (20)

Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
Potsdam FH学位证,波茨坦应用技术大学毕业证书1:1制作
 
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
定制(AUT毕业证书)新西兰奥克兰理工大学毕业证成绩单原版一比一
 
Contact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New DelhiContact Rya Baby for Call Girls New Delhi
Contact Rya Baby for Call Girls New Delhi
 
Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170Call Girls Near The Suryaa Hotel New Delhi 9873777170
Call Girls Near The Suryaa Hotel New Delhi 9873777170
 
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
 
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
办理(UofR毕业证书)罗切斯特大学毕业证成绩单原版一比一
 
Git and Github workshop GDSC MLRITM
Git and Github  workshop GDSC MLRITMGit and Github  workshop GDSC MLRITM
Git and Github workshop GDSC MLRITM
 
Hot Sexy call girls in Rk Puram 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in  Rk Puram 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in  Rk Puram 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Rk Puram 🔝 9953056974 🔝 Delhi escort Service
 
PHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 DocumentationPHP-based rendering of TYPO3 Documentation
PHP-based rendering of TYPO3 Documentation
 
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
定制(UAL学位证)英国伦敦艺术大学毕业证成绩单原版一比一
 
Complet Documnetation for Smart Assistant Application for Disabled Person
Complet Documnetation   for Smart Assistant Application for Disabled PersonComplet Documnetation   for Smart Assistant Application for Disabled Person
Complet Documnetation for Smart Assistant Application for Disabled Person
 
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
A Good Girl's Guide to Murder (A Good Girl's Guide to Murder, #1)
 
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls KolkataVIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
办理多伦多大学毕业证成绩单|购买加拿大UTSG文凭证书
 
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
 
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
 
Model Call Girl in Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in  Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in  Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Jamuna Vihar Delhi reach out to us at 🔝9953056974🔝
 
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一
定制(CC毕业证书)美国美国社区大学毕业证成绩单原版一比一
 
Call Girls Service Adil Nagar 7001305949 Need escorts Service Pooja Vip
Call Girls Service Adil Nagar 7001305949 Need escorts Service Pooja VipCall Girls Service Adil Nagar 7001305949 Need escorts Service Pooja Vip
Call Girls Service Adil Nagar 7001305949 Need escorts Service Pooja Vip
 

Searching in P2P Networks: Structured vs Unstructured

  • 1. Searching in P2P networks Mohamed Elsharnouby - Istanbul Sehir University
  • 2. P2P networks Structured: - CAN - Chord - Tapestry - Pastry - Viceroy Unstructured: - Freenet - Gnutella - BitTorrent
  • 3. Structured Pros: - Can search any resource even if rare - Search is more efficient as it exploits the structure Cons: - Not very robust and resilient as unstructured - Overhead of maintaining the structure with joining and leaving peers Pros: - More resilient to failures - Better handling of joining/leaving peers - Allow better optimization of routing by changing the overlay structure Cons: - Rare resources are harder to find if found at all - Searching can flood and overload the whole network Unstructured
  • 6. CAN Multidimensional Cartesian coordinate space on a multi-torus Each peer has a neighbour list Routing performance is O( × N1/ )
  • 7. CAN Joining: by splitting an existing peer’s zone into half Neighbour list: transferred from the old peer - updated for all neighbouring peers Leaving: a neighboring peer takes over its space and the neighbour lists are updated
  • 8. CAN improvement Multiple coordinate spaces (realities) with different place for each peer, same place for data Increasing dimensions: gives better routing. But both are needed Overloading zones: more data availability - fault tolerance - shorter routing Topological awareness of IP network Using multiple hash functions: increases data availability
  • 10. Chord Peers are organized around a circle according to their ID which is an m-bit ID assigned by a uniform hashing function Each data item is assigned an ID on the same circle and assigned to its successor peer Routing takes O(log N) if peer information is up to date
  • 11. Chord Each peer carries a finger table for info of peers which are successors of IDs that increase by a power [ hence the O(log N) routing ] Resilience is increased by maintaining another list of length r of the peer’s direct successors Joining and leaving: needs successor keys to be updated which is done by a stabilization protocol that runs periodically in the background
  • 12. Chord It needs O(log N) for routing, much better than CAN Needs O(log2 N) which is worse than CAN which requires O(2 x d) Could make some use of CAN improvements ideas as multiple realities Cannot take into account IP topology
  • 14. Tapestry The nth peer that the message reaches shares a suffix of at least length n with destination ID Routing takes O(logb N) where b is the base of IDs Uses multiple roots for each data object to avoid single points of failure Robustness is increased by making the neighbour map maintain two backup peers in addition to the primary ones
  • 16. Pastry Same as Tapestry Doesn’t have optimization for locality of peers Less efficient replication algorithm
  • 18. Viceroy - General Ring: every node is connected to its successor and predecessor - Level Ring: every node is connected to others on ring - Butterfly: every level L: - Down right edge that is added to a long range - Down left edge to close range - Up edge to close range Routing performance is O(log N)
  • 21. Freenet It uses Steepest Ascent Hill Climbing with backtracking algorithm It caches the found file in the path peers => improvement of routing Anonymity is one of the main properties of the network Least Recently Used (LRU) is the basic cache replacement algorithm An enhanced algorithm for cache replacement could be used for cache replacement
  • 22. Freenet Enhanced-clustering with Random Shortcut It uses the concept of small world by choosing the farthest node in the cache If the new added node is closer it replaces in the cache If it’s farther with a certain probability it replaces The choice of optimum is still an open question
  • 24. Gnutella Routing through the network is mainly done by flooding (BFS) with certain TTL and limit of hops This causes high overload of the network when too many nodes join To join a client connects to one of the peers and broadcasts its content by flooding as well A concept of ultra peers with higher bandwidth is introduced to carry the network routing and search operations for its leaves
  • 26. BitTorrent A centralized P2P system It cuts files into pieces of fixed size (256 Kbytes each) and hashes them with SHA1 to confirm integrity of data A client needs to connect to Tracker that gives the client a set of random peers having the file needed A downloaded piece could be seeded DHT introduced trackerless BitTorrent