1. PEER TO PEER DATA
MANAGEMENT
Presented by :
Junaid Lodhi (131357)
Hamza Shafqat (131369)
BscsVII
2. EARLY P2P ARCHITECTURE
There was no differentiation between the functionality of each site in the system
Major difference in current system in massive distribution i.e. thousands of sites
Heterogeneity of those massive distribution
volatility of these system i.e. In current system machine join and leave p2p
system quite often
3. REQUIREMENTS OF MODERN P2P SYSTEM
Autonomy: autonomous peer should be able to join and leave the system at any
time without restriction.
Query expressiveness: the query language should allow the user to describe the
desired data at the appropriate level of detail.
Efficiency : efficient use of p2p system resources should result in lower cost and
higher throughput
Quality of service: refers to user perceived efficiency like query results data
consistency and data availability
FaultTolerance: No trade off on efficiency despite of failures of peers
Security : Use of Intellectual property rights enforcement on data contents.
4. DATA MANAGEMENT ISSUES ADDRESSED
BY MODERN P2P SYSTEMS
Data location: A peer must be able to locate data stored in other peer
Query Processing : given a query, system must be able to discover the peers that
contribute relevant data
Data Integration:When shared sources are heterogonous, peer still be able to
access data.
Data Consistency: If data are replicated a key is issued to maintain the consistency
between duplicates
5. APPLICATIONS OF MODERN P2P SYSTEM
BitTorrent
DistriBrute : p2p desktop deployment product
Tribler: Open source Social interactive p2p clinet with with integrated search,
video and audio player
6. HYBRID P2P
Hybrid models are a combination of peer-to-peer and client-server models
A common hybrid model is to have a central server that helps peers find each
other.
7. PEERTO PEER MODELS
Purely Decentralized System
Centralized System
Hybrid System
8. PURELY DECENTRALIZED MODEL
It is a type of model in which there is not central sever all nodes are acting as both
client and server all are getting and sending data to each other no server is
managing them.
Advantages:
i.) High Performance
ii.) Failure of single node doesn’t fails whole network.
iii.) Easily scalable and robustness.
Disadvantages:
i.)We cannot administrate the network.
ii.) Cannot filter the network traffic that what files are being shared.
9. CENTRALIZED P2P MODEL:
In this model which there is a central server whose job is that it is maintaining all the records of files which each node
have.
When a node needs a file its requests to the server makes the lookup in its database and redirects the requesting
node to that node which has file.
So then this requesting node makes the direct connection with that node which has file
Advantages:
i.) Quick searches.
ii.) Low bandwidth required.
iii.) Searches can be filtered to some extent.
iv.) Main advantage of this system is faster resource sharing.
Disadvantages:
i.) Failure of server fails down whole network.
ii.)This model is more easily be attacked.
10. HYBRID P2P
Main advantage of Centralized model is faster and reliable resource sharing.
Advantages of Hybrid Model:
I.) Issue of scalability in centralized model resolved.
ii.) We can quickly locate the resource by use of supernodes.
Disadvantages:
i.) Searching is still based upon the flooding.
ii.) Loss of Distribution , more centralized control.