Peer-to-Peer File Transfer
Submitted By: Submitted To:
Ashu Kumari Ms. Pooja Varshney
SID- 2246169 (Assistant Professor)
Introduction to P2P Networks
A peer-to-peer (P2P) network is a decentralized system P2P networks have revolutionized file sharing by eliminating
where each computer (peer) acts as both a client and a the need for central servers. They empower users to directly
server. share files with each other.
P2P Architectures
1 Structured networks: Use 2 Unstructured networks: Rely
centralized directories to on broadcasting and
organize peers and facilitate flooding for file sharing.
file searches. Peers connect randomly
and share files directly.
3 Hybrid networks: Combine features of structured and
unstructured networks for enhanced performance and efficiency.
Common P2P Protocols
Gnutella BitTorrent
Gnutella is an early and BitTorrent is a highly efficient
popular P2P protocol that uses protocol that uses a swarm of
flooding for file searches. peers to share files in smaller
chunks.
Napster
Napster was one of the first P2P file sharing services, using a
centralized index to find files.
File Sharing Mechanisms
Hashing: Files are Indexing: Peers Searching: Queries
assigned unique hash maintain indexes of are broadcast or
values for files they offer, directed through the
identification and enabling efficient network to locate
verification. searching. desired files.
Advantages of P2P
1 Scalability: P2P networks 2 Resilience: The
can handle massive decentralized nature of P2P
numbers of peers, ensuring makes it highly resilient to
high capacity and failures, as data is
availability. distributed across multiple
peers.
3 Cost-effectiveness: P2P networks can reduce infrastructure costs
by leveraging peer resources.
Disadvantages of P2P
1 Security risks: P2P networks 2 Copyright issues: P2P file
are susceptible to malware, sharing can contribute to
data breaches, and privacy copyright infringement and
violations. piracy.
3 Bandwidth consumption: Excessive file sharing can strain internet
bandwidth, leading to network congestion.
Case Studies
1 Napster's rise and fall: Demonstrated the power and
controversy of P2P file sharing.
2 BitTorrent's widespread adoption: Became the dominant
protocol for sharing large files.
3 Decentralized storage solutions: Emerging technologies
like IPFS and Filecoin utilize P2P for data storage and
retrieval.
The Future of P2P
Blockchain integration: Blockchain technology can enhance P2P security and trust.
Decentralized storage: P2P networks are poised to revolutionize data storage and accessibility.
New applications: P2P will continue to fuel innovation in various fields, including collaboration, content delivery, and gaming.
Q&A and Conclusion
P2P file transfer has revolutionized how we share data and is poised for even greater innovation in the future. Understanding its
architecture, protocols, advantages, and challenges is crucial for navigating this evolving landscape.
Thanks