SlideShare a Scribd company logo
1 of 12
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

Similar to Peer-to-Peer Systems: Building Self-Managing Distributed Applications and Services

What We Wish We Had Known: Becoming an IBM Connections Administrator
What We Wish We Had Known: Becoming an IBM Connections AdministratorWhat We Wish We Had Known: Becoming an IBM Connections Administrator
What We Wish We Had Known: Becoming an IBM Connections AdministratorGabriella Davis
 
Rock Solid Sametime for High Availability
Rock Solid Sametime for High AvailabilityRock Solid Sametime for High Availability
Rock Solid Sametime for High AvailabilityGabriella Davis
 
IBM Connections – Managing Growth and Expansion
IBM Connections – Managing Growth and ExpansionIBM Connections – Managing Growth and Expansion
IBM Connections – Managing Growth and ExpansionLetsConnect
 
HDFS_architecture.ppt
HDFS_architecture.pptHDFS_architecture.ppt
HDFS_architecture.pptvijayapraba1
 
Cloud computing UNIT 2.1 presentation in
Cloud computing UNIT 2.1 presentation inCloud computing UNIT 2.1 presentation in
Cloud computing UNIT 2.1 presentation inRahulBhole12
 
Storage Systems For Scalable systems
Storage Systems For Scalable systemsStorage Systems For Scalable systems
Storage Systems For Scalable systemselliando dias
 
Integrating Novell Teaming within Your Existing Infrastructure
Integrating Novell Teaming within Your Existing InfrastructureIntegrating Novell Teaming within Your Existing Infrastructure
Integrating Novell Teaming within Your Existing InfrastructureNovell
 
Integrating Novell Teaming within Your Existing Infrastructure
Integrating Novell Teaming within Your Existing InfrastructureIntegrating Novell Teaming within Your Existing Infrastructure
Integrating Novell Teaming within Your Existing InfrastructureNovell
 
EVE Microservices Platform
EVE Microservices PlatformEVE Microservices Platform
EVE Microservices PlatformAlaa Qutaish
 
Database failover from client perspective
Database failover from client perspectiveDatabase failover from client perspective
Database failover from client perspectivePriit Piipuu
 
Lecture 3 more on servers and services
Lecture 3   more on servers and servicesLecture 3   more on servers and services
Lecture 3 more on servers and servicesWiliam Ferraciolli
 
Building High-Throughput, Low-Latency Pipelines in Kafka
Building High-Throughput, Low-Latency Pipelines in KafkaBuilding High-Throughput, Low-Latency Pipelines in Kafka
Building High-Throughput, Low-Latency Pipelines in Kafkaconfluent
 
Integrating Apple Macs Using Novell Technologies
Integrating Apple Macs Using Novell TechnologiesIntegrating Apple Macs Using Novell Technologies
Integrating Apple Macs Using Novell TechnologiesNovell
 
The Evolution of the Oracle Database - Then, Now and Later (Fontys Hogeschool...
The Evolution of the Oracle Database - Then, Now and Later (Fontys Hogeschool...The Evolution of the Oracle Database - Then, Now and Later (Fontys Hogeschool...
The Evolution of the Oracle Database - Then, Now and Later (Fontys Hogeschool...Lucas Jellema
 
Big Data Storage Concepts from the "Big Data concepts Technology and Architec...
Big Data Storage Concepts from the "Big Data concepts Technology and Architec...Big Data Storage Concepts from the "Big Data concepts Technology and Architec...
Big Data Storage Concepts from the "Big Data concepts Technology and Architec...raghdooosh
 
Scalability designprinciples-v2-130718023602-phpapp02 (1)
Scalability designprinciples-v2-130718023602-phpapp02 (1)Scalability designprinciples-v2-130718023602-phpapp02 (1)
Scalability designprinciples-v2-130718023602-phpapp02 (1)Minal Patil
 
Preventing serversickness
Preventing serversicknessPreventing serversickness
Preventing serversicknessGabriella Davis
 

Similar to Peer-to-Peer Systems: Building Self-Managing Distributed Applications and Services (20)

What We Wish We Had Known: Becoming an IBM Connections Administrator
What We Wish We Had Known: Becoming an IBM Connections AdministratorWhat We Wish We Had Known: Becoming an IBM Connections Administrator
What We Wish We Had Known: Becoming an IBM Connections Administrator
 
Rock Solid Sametime for High Availability
Rock Solid Sametime for High AvailabilityRock Solid Sametime for High Availability
Rock Solid Sametime for High Availability
 
IBM Connections – Managing Growth and Expansion
IBM Connections – Managing Growth and ExpansionIBM Connections – Managing Growth and Expansion
IBM Connections – Managing Growth and Expansion
 
HDFS_architecture.ppt
HDFS_architecture.pptHDFS_architecture.ppt
HDFS_architecture.ppt
 
Cloud computing UNIT 2.1 presentation in
Cloud computing UNIT 2.1 presentation inCloud computing UNIT 2.1 presentation in
Cloud computing UNIT 2.1 presentation in
 
Storage Systems For Scalable systems
Storage Systems For Scalable systemsStorage Systems For Scalable systems
Storage Systems For Scalable systems
 
Integrating Novell Teaming within Your Existing Infrastructure
Integrating Novell Teaming within Your Existing InfrastructureIntegrating Novell Teaming within Your Existing Infrastructure
Integrating Novell Teaming within Your Existing Infrastructure
 
Integrating Novell Teaming within Your Existing Infrastructure
Integrating Novell Teaming within Your Existing InfrastructureIntegrating Novell Teaming within Your Existing Infrastructure
Integrating Novell Teaming within Your Existing Infrastructure
 
EVE Microservices Platform
EVE Microservices PlatformEVE Microservices Platform
EVE Microservices Platform
 
Database failover from client perspective
Database failover from client perspectiveDatabase failover from client perspective
Database failover from client perspective
 
Lecture 3 more on servers and services
Lecture 3   more on servers and servicesLecture 3   more on servers and services
Lecture 3 more on servers and services
 
Building High-Throughput, Low-Latency Pipelines in Kafka
Building High-Throughput, Low-Latency Pipelines in KafkaBuilding High-Throughput, Low-Latency Pipelines in Kafka
Building High-Throughput, Low-Latency Pipelines in Kafka
 
Integrating Apple Macs Using Novell Technologies
Integrating Apple Macs Using Novell TechnologiesIntegrating Apple Macs Using Novell Technologies
Integrating Apple Macs Using Novell Technologies
 
The Evolution of the Oracle Database - Then, Now and Later (Fontys Hogeschool...
The Evolution of the Oracle Database - Then, Now and Later (Fontys Hogeschool...The Evolution of the Oracle Database - Then, Now and Later (Fontys Hogeschool...
The Evolution of the Oracle Database - Then, Now and Later (Fontys Hogeschool...
 
Big Data Storage Concepts from the "Big Data concepts Technology and Architec...
Big Data Storage Concepts from the "Big Data concepts Technology and Architec...Big Data Storage Concepts from the "Big Data concepts Technology and Architec...
Big Data Storage Concepts from the "Big Data concepts Technology and Architec...
 
Scalability Design Principles - Internal Session
Scalability Design Principles - Internal SessionScalability Design Principles - Internal Session
Scalability Design Principles - Internal Session
 
Scalability designprinciples-v2-130718023602-phpapp02 (1)
Scalability designprinciples-v2-130718023602-phpapp02 (1)Scalability designprinciples-v2-130718023602-phpapp02 (1)
Scalability designprinciples-v2-130718023602-phpapp02 (1)
 
Redis meetup
Redis meetupRedis meetup
Redis meetup
 
Preventing serversickness
Preventing serversicknessPreventing serversickness
Preventing serversickness
 
globus.pptx
globus.pptxglobus.pptx
globus.pptx
 

More from Raviteja Chowdary Adusumalli (14)

Testing fundamentals
Testing fundamentalsTesting fundamentals
Testing fundamentals
 
Oracle Sql & PLSQL Complete guide
Oracle Sql & PLSQL Complete guideOracle Sql & PLSQL Complete guide
Oracle Sql & PLSQL Complete guide
 
Softskill brief description,the way to change our attitude
Softskill brief description,the way to change our attitudeSoftskill brief description,the way to change our attitude
Softskill brief description,the way to change our attitude
 
Introduction to phishing
Introduction to phishingIntroduction to phishing
Introduction to phishing
 
Computer viruses
Computer virusesComputer viruses
Computer viruses
 
Brain fingerprinting tech
Brain fingerprinting techBrain fingerprinting tech
Brain fingerprinting tech
 
Geographic inf system
Geographic inf systemGeographic inf system
Geographic inf system
 
Ethical hacking (2)
Ethical hacking (2)Ethical hacking (2)
Ethical hacking (2)
 
Brain gate
Brain gateBrain gate
Brain gate
 
Free space optics
Free space opticsFree space optics
Free space optics
 
Wearable computer
Wearable computerWearable computer
Wearable computer
 
Image processing ppt
Image processing pptImage processing ppt
Image processing ppt
 
Wimax
WimaxWimax
Wimax
 
Surface computing by raviteja
Surface computing by ravitejaSurface computing by raviteja
Surface computing by raviteja
 

Recently uploaded

"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfjimielynbastida
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 

Recently uploaded (20)

"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdf
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 

Peer-to-Peer Systems: Building Self-Managing Distributed Applications and Services

  • 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