SlideShare a Scribd company logo
Peer-to-Peer System
     Raviteja Adusumalli




            ali@sics.se    1
Definition

• What is a distributed system?

 ”You know you have a
   distributed system when the
   crash of a computer you have
   never heard of stops you from
   getting any work done.”
                                      Leslie Lamport

  We counteract this definition!

                        ali@sics.se                    2
Distributed Systems

• Example of distributed systems:
  – File systems
                                Frequently, an organization
  – Web servers              stores all its files on a centralized
                                   distributed file server
  – Mail servers
                             If it fails, no one can access their
  – Databases                                 files



                   The central mail server crashes, no one can read their
                               Webb servers often become
                                           email!
                                  overloaded and fail




                          ali@sics.se                                       3
Our effort

• Build on an 30-year old idea

• Arpanet, the precursor of Internet, was
  built for:
  – Military survivability
     • If some part stops working, the rest should continue
       to function


• Internet has been quite successful so far…
  – No fail-stop yet

• But the effort stopped here…

                              ali@sics.se                     4
Peer-to-Peer System

• We want to build
  – Services
  – Servers
  – Applications
• That are self-managed

• Achieved by peer-to-peer techniques!



                     ali@sics.se         5
Peer-to-Peer Middleware

• After several years of research
  – Built a middleware: DKS


• Provides:
  – Routing services
  – Directory services
  – Name-based messaging
    (multicast/publish/subscribe)


                      ali@sics.se   6
Peer-to-Peer System

• DKS is self-managing

• Automatic managent:
  – Adding servers/resources
  – Removing servers/resources
  – Crash of servers/resources
  – Load balancing of data/nodes
  – Security


                     ali@sics.se   7
Peer-to-Peer?

• How is it different from:
  –   KaZaa
  –   Napster
  –   Gnutella
  –   Skype

• These are so called unstructured p2p
  systems
  – Limited applicability (file sharing)
  – Inefficient (wastes bandwidth)

• Our focus is on structured p2p systems
  – Chord/CAN/Pastry (USA)
  – DKS/P-Grid (Europe)
                           ali@sics.se     8
What can we do with DKS?

• Three concrete applications:
  – P2P Web server
  – P2P Backup
  – P2P File system




                      ali@sics.se   9
P2P Web

• Works like an                              Publish your web pages
  ordinary web
  server

• Differences:
  – It is distributed
  – Automatic data                           Gets stored on the DKSStore a copy here
    replication                                          15    0
                           Store it here                               1
  – Load-balancing                                 14     15       1
                                                                               2
    of users
                                             13     13                             3

                                                                               4
                                             12                                    4
• Too much load                                                            5
  – Add another                               11                                   5
    server         Store a new copy here           10                          6
                                                          9            7
                                                               8
                               ali@sics.se                                             10
P2P Backup

• Initialization
  – Install a client on your computer
  – Decide on amount of space to share
  – Choose files for backup


• Regular backup
  – Data is encrypted
  – Always accessible


                        ali@sics.se      11
Conclusion
• Structured Peer-to-Peer system
   – Self-organizing
        •   Automatic fault-tolerance
        •   Automatic addition of nodes/resources
        •   Automatic removal of nodes/resources
        •   Automatic load-balancing


• Many interesting applications
   –   File systems
   –   Backup
   –   Web
   –   M.m.


• Cost-saving for companies
   – Save money on administration

                                    ali@sics.se     12

More Related Content

PPT
Emory Law School ITPC Presentation
PDF
Microservices with Terraform, Docker and the Cloud. JavaOne 2017 2017-10-02
PPT
Zarafa SummerCamp 2012 - Exchange Web Services on Zarafa
PPTX
Comprehensive Information on Rack Servers and Blade Servers
PPTX
Hyper-V’s Virtualization Enhancements - EPC Group
PDF
Microservice Memoirs - Lachlan Evanson
KEY
Eclipse Enterprise Content Repository (ECR)
PPTX
High Volume Web API Management with WSO2 ESB
Emory Law School ITPC Presentation
Microservices with Terraform, Docker and the Cloud. JavaOne 2017 2017-10-02
Zarafa SummerCamp 2012 - Exchange Web Services on Zarafa
Comprehensive Information on Rack Servers and Blade Servers
Hyper-V’s Virtualization Enhancements - EPC Group
Microservice Memoirs - Lachlan Evanson
Eclipse Enterprise Content Repository (ECR)
High Volume Web API Management with WSO2 ESB

Similar to Peer to peer (20)

PPT
Peer-to-peer Systems.ppt
PDF
Peer to peer Networks
PDF
Distributed Systems in Data Engineering
PPT
Part 1 network computing
PDF
Tom Krcha - Future of Flash
PDF
Client server computing
PPT
Cloud Camp Milan 2K9 Telecom Italia: Where P2P?
PDF
CBSE XII Communication And Network Concepts
PDF
Solutions for Exercises: Distributed Systems 5th Edition by Coulouris & Dolli...
PPS
Lab Seminar 2009 07 08 Message Drop Reduction
PPT
Peer to Peer services and File systems
PDF
CSTalks - Peer-to-peer - 16 Feb
PDF
A Brief Note On Peer And Peer ( P2P ) Applications Have No...
PPT
PDF
Wuala, P2P Online Storage
PDF
An introduction to the web
PPTX
Unit 3 cs6601 Distributed Systems
PDF
Big datadc skyfall_preso_v2
PDF
Scalable Internet Servers and Load Balancing
PDF
Cs556 section1
Peer-to-peer Systems.ppt
Peer to peer Networks
Distributed Systems in Data Engineering
Part 1 network computing
Tom Krcha - Future of Flash
Client server computing
Cloud Camp Milan 2K9 Telecom Italia: Where P2P?
CBSE XII Communication And Network Concepts
Solutions for Exercises: Distributed Systems 5th Edition by Coulouris & Dolli...
Lab Seminar 2009 07 08 Message Drop Reduction
Peer to Peer services and File systems
CSTalks - Peer-to-peer - 16 Feb
A Brief Note On Peer And Peer ( P2P ) Applications Have No...
Wuala, P2P Online Storage
An introduction to the web
Unit 3 cs6601 Distributed Systems
Big datadc skyfall_preso_v2
Scalable Internet Servers and Load Balancing
Cs556 section1
Ad

More from Raviteja Chowdary Adusumalli (14)

PPT
Testing fundamentals
PPT
Oracle Sql & PLSQL Complete guide
PPT
Softskill brief description,the way to change our attitude
PPT
Introduction to phishing
PPT
PPT
Brain fingerprinting tech
PPTX
Geographic inf system
PPTX
Ethical hacking (2)
PPT
Free space optics
PPT
Wearable computer
PPTX
Image processing ppt
PPT
Surface computing by raviteja
Testing fundamentals
Oracle Sql & PLSQL Complete guide
Softskill brief description,the way to change our attitude
Introduction to phishing
Brain fingerprinting tech
Geographic inf system
Ethical hacking (2)
Free space optics
Wearable computer
Image processing ppt
Surface computing by raviteja
Ad

Recently uploaded (20)

PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
Cloud computing and distributed systems.
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Modernizing your data center with Dell and AMD
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
A Presentation on Artificial Intelligence
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
NewMind AI Monthly Chronicles - July 2025
PPTX
Big Data Technologies - Introduction.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Encapsulation theory and applications.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Cloud computing and distributed systems.
“AI and Expert System Decision Support & Business Intelligence Systems”
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Modernizing your data center with Dell and AMD
Per capita expenditure prediction using model stacking based on satellite ima...
A Presentation on Artificial Intelligence
Network Security Unit 5.pdf for BCA BBA.
Encapsulation_ Review paper, used for researhc scholars
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
The AUB Centre for AI in Media Proposal.docx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Spectral efficient network and resource selection model in 5G networks
NewMind AI Monthly Chronicles - July 2025
Big Data Technologies - Introduction.pptx
Unlocking AI with Model Context Protocol (MCP)
Review of recent advances in non-invasive hemoglobin estimation
Diabetes mellitus diagnosis method based random forest with bat algorithm
Encapsulation theory and applications.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf

Peer to peer

  • 1. Peer-to-Peer System Raviteja Adusumalli ali@sics.se 1
  • 2. Definition • What is a distributed system? ”You know you have a distributed system when the crash of a computer you have never heard of stops you from getting any work done.” Leslie Lamport We counteract this definition! ali@sics.se 2
  • 3. Distributed Systems • Example of distributed systems: – File systems Frequently, an organization – Web servers stores all its files on a centralized distributed file server – Mail servers If it fails, no one can access their – Databases files The central mail server crashes, no one can read their Webb servers often become email! overloaded and fail ali@sics.se 3
  • 4. Our effort • Build on an 30-year old idea • Arpanet, the precursor of Internet, was built for: – Military survivability • If some part stops working, the rest should continue to function • Internet has been quite successful so far… – No fail-stop yet • But the effort stopped here… ali@sics.se 4
  • 5. Peer-to-Peer System • We want to build – Services – Servers – Applications • That are self-managed • Achieved by peer-to-peer techniques! ali@sics.se 5
  • 6. Peer-to-Peer Middleware • After several years of research – Built a middleware: DKS • Provides: – Routing services – Directory services – Name-based messaging (multicast/publish/subscribe) ali@sics.se 6
  • 7. Peer-to-Peer System • DKS is self-managing • Automatic managent: – Adding servers/resources – Removing servers/resources – Crash of servers/resources – Load balancing of data/nodes – Security ali@sics.se 7
  • 8. Peer-to-Peer? • How is it different from: – KaZaa – Napster – Gnutella – Skype • These are so called unstructured p2p systems – Limited applicability (file sharing) – Inefficient (wastes bandwidth) • Our focus is on structured p2p systems – Chord/CAN/Pastry (USA) – DKS/P-Grid (Europe) ali@sics.se 8
  • 9. What can we do with DKS? • Three concrete applications: – P2P Web server – P2P Backup – P2P File system ali@sics.se 9
  • 10. P2P Web • Works like an Publish your web pages ordinary web server • Differences: – It is distributed – Automatic data Gets stored on the DKSStore a copy here replication 15 0 Store it here 1 – Load-balancing 14 15 1 2 of users 13 13 3 4 12 4 • Too much load 5 – Add another 11 5 server Store a new copy here 10 6 9 7 8 ali@sics.se 10
  • 11. P2P Backup • Initialization – Install a client on your computer – Decide on amount of space to share – Choose files for backup • Regular backup – Data is encrypted – Always accessible ali@sics.se 11
  • 12. Conclusion • Structured Peer-to-Peer system – Self-organizing • Automatic fault-tolerance • Automatic addition of nodes/resources • Automatic removal of nodes/resources • Automatic load-balancing • Many interesting applications – File systems – Backup – Web – M.m. • Cost-saving for companies – Save money on administration ali@sics.se 12