SlideShare a Scribd company logo
1 of 32
Join the swarm!
PRASHANTH S
1CR11EC076
 Peer to peer
 More users, better it is
 Large amounts of data transfer
 Encourages peers to upload
 > a quarter of a billion monthly users*
 Client-server architecture
 Conventional method used for years
 Direct connection between server & client
 Large no. of dedicated servers
 Download data at high speeds
 Reach high transfer rates very quickly
 No loss of files once uploaded
 File availability does not depend on popularity
 Single point of failure
 Maintenance of servers
 Servers require large bandwidth
 Website crash eg: VTU website
 Decentralized communications model
 Nodes(peers) are interconnected
 Content not on a central server
 Content present on peer’s computer
 No need of server for data transfer
 Peers->provide and consume resources
 Designed as P2P MP3 sharing service
 Song downloaded from other peer
 Server only used to connect peers
 Redefined the internet
 Peers run Napster utility
 Central Index Server(CIS)
 Peers connect to CIS
 Peers inform CIS about files on their directory
 When the user wants a file, he queries the CIS
 CIS directs them to the computer that has it
 Connection is established between peers
 Transfer is initiated
 Transfer takes place from a single source
 Speed limited to upload capacity of source
 Requires only a subset of users to share
 Encourage free-riding
 Exerts too much load on original sources
 Napster was shutdown in its original form
 No CIS like the one used in Napster
 Made use of FastTrack protocol
 Super nodes and ordinary nodes
 1 super node serves 60 to 150 ordinary nodes
 Software comes with a list of super nodes
 The client connects to one of the super nodes
 A file request in passed through super node
 Super node passes the query super nodes
 The other super nodes pass it to ordinary nodes
 The ordinary nodes ask other ordinary nodes
 7 levels deep
 If a file is found, transfer takes place
 Super nodes do not take part in the transfer
 Super node has to handle lot of traffic
 Transfer happens between only 2 peers
 Bandwidth available to receiver not utilised
 Encourages free-riding
Similarities with Napster:
 Users share their files with everyone else
 Users run a software to connect to network
Differences with Napster:
 No central database like Napster
 Machines inform other machines about files
 Achieved using distributed query approach
 User types in the name of the required file
 This machine requests other known machines
 These machines search their directory
 If not found, forward the request
 This process may go 7 levels deep
 A single search may cover 8000 machines
 The 8000 machines may not contain the file
 Takes time for search results to appear
 Bandwidth to handle requests from other users
 Bandwidth available to receiver not utilised
 Seeder
 Seeder
 Leecher
 Seeder
 Leecher
 Torrent file
 Seeder
 Leecher
 Torrent file
 Swarm
 Seeder
 Leecher
 Torrent file
 Swarm
 Tracker
 Create a torrent
◦ Select files
◦ Choose a tracker
◦ Select saving directory
◦ Select piece size(better left untouched)
◦ Start seeding!!
 Downloading files
◦ Download torrent file
◦ Client software communicates with a tracker to find
 Other computers that have the complete file (seeds)
 Those with a portion of the file
◦ Peers communicate with each other
◦ Download/upload starts from/to different peers
 .torrent file
◦ Metadata about the required file
 The URL of the tracker
 Pieces <hash1, hash 2,…, hash n>
 Piece length
 Name of the file
 Length of the file
 Tit for tat approach
 Optimistic unchoking
 Random first piece
 Rarest first
 Endgame mode
 Pollution attack
 Bandwidth shaping
 Open source
 Share large amount of data quickly
 Discourages free-riding
 More users, the better it is
 Download takes place from multiple locations
 Reduces burden on original distributors
 Easy to download expensive software, movies
 Organisations distribute legitimate software
 Leechers may leave swarm after download
 Unpopular content has no seeds
 Takes time to reach high download speeds
 No streaming playback
Join the Swarm P2P Architecture

More Related Content

What's hot

KINH NGHIỆM CHUYỂN ĐỔI SỐ CỦA MỘT SỐ NƯỚC TRÊN THẾ GIỚI VÀ BÀI HỌC KINH NGHI...
KINH NGHIỆM CHUYỂN ĐỔI SỐ CỦA MỘT SỐ NƯỚC  TRÊN THẾ GIỚI VÀ BÀI HỌC KINH NGHI...KINH NGHIỆM CHUYỂN ĐỔI SỐ CỦA MỘT SỐ NƯỚC  TRÊN THẾ GIỚI VÀ BÀI HỌC KINH NGHI...
KINH NGHIỆM CHUYỂN ĐỔI SỐ CỦA MỘT SỐ NƯỚC TRÊN THẾ GIỚI VÀ BÀI HỌC KINH NGHI...lamluanvan.net Viết thuê luận văn
 
Bài TL : Xây dựng Website nghe nhạc cạnh tranh với mp3.zing.vn
Bài TL : Xây dựng Website nghe nhạc cạnh tranh với mp3.zing.vnBài TL : Xây dựng Website nghe nhạc cạnh tranh với mp3.zing.vn
Bài TL : Xây dựng Website nghe nhạc cạnh tranh với mp3.zing.vnĐô Dương Tuấn
 
Phần mềm quản lý thư viện_App Prototype v1.0
Phần mềm quản lý thư viện_App Prototype v1.0Phần mềm quản lý thư viện_App Prototype v1.0
Phần mềm quản lý thư viện_App Prototype v1.0Lam Bich Du
 
[Athena]Nghiên Cứu Và Xây Dựng Website Bằng Wordpress
[Athena]Nghiên Cứu Và Xây Dựng Website Bằng Wordpress[Athena]Nghiên Cứu Và Xây Dựng Website Bằng Wordpress
[Athena]Nghiên Cứu Và Xây Dựng Website Bằng WordpressCương Trần
 
Linux web hosting (Bao cao)
Linux web hosting (Bao cao)Linux web hosting (Bao cao)
Linux web hosting (Bao cao)An Pham
 
Báo Cáo Đề Tài Xây Dựng Phần Mềm Quản Lí Khách Hàng Trên Android
Báo Cáo Đề Tài Xây Dựng Phần Mềm Quản Lí Khách Hàng Trên AndroidBáo Cáo Đề Tài Xây Dựng Phần Mềm Quản Lí Khách Hàng Trên Android
Báo Cáo Đề Tài Xây Dựng Phần Mềm Quản Lí Khách Hàng Trên AndroidDlinh Truong
 
TkXel Portfolio
TkXel Portfolio TkXel Portfolio
TkXel Portfolio TkXel
 
Xây dựng hệ thống mạng cho Công Ty Cổ Phần Trường Tân trên nền tảng server 2008
Xây dựng hệ thống mạng cho Công Ty Cổ Phần Trường Tân trên nền tảng server 2008Xây dựng hệ thống mạng cho Công Ty Cổ Phần Trường Tân trên nền tảng server 2008
Xây dựng hệ thống mạng cho Công Ty Cổ Phần Trường Tân trên nền tảng server 2008laonap166
 
Các kỹ thuật bảo trì phần mềm
Các kỹ thuật bảo trì phần mềmCác kỹ thuật bảo trì phần mềm
Các kỹ thuật bảo trì phần mềmNguyễn Anh
 
MARKETING LOGISTICS.docx
MARKETING LOGISTICS.docxMARKETING LOGISTICS.docx
MARKETING LOGISTICS.docxThnhBi989052
 
Hướng dẫn tạo nas synology từ pc cũ
Hướng dẫn tạo nas synology từ pc cũHướng dẫn tạo nas synology từ pc cũ
Hướng dẫn tạo nas synology từ pc cũlaonap166
 
Luận văn: Rèn luyện kĩ năng sử dụng Atlat địa lí Việt Nam trong dạy học Địa l...
Luận văn: Rèn luyện kĩ năng sử dụng Atlat địa lí Việt Nam trong dạy học Địa l...Luận văn: Rèn luyện kĩ năng sử dụng Atlat địa lí Việt Nam trong dạy học Địa l...
Luận văn: Rèn luyện kĩ năng sử dụng Atlat địa lí Việt Nam trong dạy học Địa l...Dịch vụ viết thuê Luận Văn - ZALO 0932091562
 

What's hot (20)

KINH NGHIỆM CHUYỂN ĐỔI SỐ CỦA MỘT SỐ NƯỚC TRÊN THẾ GIỚI VÀ BÀI HỌC KINH NGHI...
KINH NGHIỆM CHUYỂN ĐỔI SỐ CỦA MỘT SỐ NƯỚC  TRÊN THẾ GIỚI VÀ BÀI HỌC KINH NGHI...KINH NGHIỆM CHUYỂN ĐỔI SỐ CỦA MỘT SỐ NƯỚC  TRÊN THẾ GIỚI VÀ BÀI HỌC KINH NGHI...
KINH NGHIỆM CHUYỂN ĐỔI SỐ CỦA MỘT SỐ NƯỚC TRÊN THẾ GIỚI VÀ BÀI HỌC KINH NGHI...
 
Bài TL : Xây dựng Website nghe nhạc cạnh tranh với mp3.zing.vn
Bài TL : Xây dựng Website nghe nhạc cạnh tranh với mp3.zing.vnBài TL : Xây dựng Website nghe nhạc cạnh tranh với mp3.zing.vn
Bài TL : Xây dựng Website nghe nhạc cạnh tranh với mp3.zing.vn
 
Phần mềm quản lý thư viện_App Prototype v1.0
Phần mềm quản lý thư viện_App Prototype v1.0Phần mềm quản lý thư viện_App Prototype v1.0
Phần mềm quản lý thư viện_App Prototype v1.0
 
[Athena]Nghiên Cứu Và Xây Dựng Website Bằng Wordpress
[Athena]Nghiên Cứu Và Xây Dựng Website Bằng Wordpress[Athena]Nghiên Cứu Và Xây Dựng Website Bằng Wordpress
[Athena]Nghiên Cứu Và Xây Dựng Website Bằng Wordpress
 
Linux web hosting (Bao cao)
Linux web hosting (Bao cao)Linux web hosting (Bao cao)
Linux web hosting (Bao cao)
 
Báo Cáo Đề Tài Xây Dựng Phần Mềm Quản Lí Khách Hàng Trên Android
Báo Cáo Đề Tài Xây Dựng Phần Mềm Quản Lí Khách Hàng Trên AndroidBáo Cáo Đề Tài Xây Dựng Phần Mềm Quản Lí Khách Hàng Trên Android
Báo Cáo Đề Tài Xây Dựng Phần Mềm Quản Lí Khách Hàng Trên Android
 
Quy trình quản lý chất lượng phần mềm của công ty phần mềm, 9đ
Quy trình quản lý chất lượng phần mềm của công ty phần mềm, 9đQuy trình quản lý chất lượng phần mềm của công ty phần mềm, 9đ
Quy trình quản lý chất lượng phần mềm của công ty phần mềm, 9đ
 
Phát triển năng lực đọc hiểu cho học sinh dân tộc thiểu số lớp 4, 5 tại huyện...
Phát triển năng lực đọc hiểu cho học sinh dân tộc thiểu số lớp 4, 5 tại huyện...Phát triển năng lực đọc hiểu cho học sinh dân tộc thiểu số lớp 4, 5 tại huyện...
Phát triển năng lực đọc hiểu cho học sinh dân tộc thiểu số lớp 4, 5 tại huyện...
 
TkXel Portfolio
TkXel Portfolio TkXel Portfolio
TkXel Portfolio
 
Bctt CNTT Xây dựng website xem phim online
Bctt CNTT Xây dựng website xem phim onlineBctt CNTT Xây dựng website xem phim online
Bctt CNTT Xây dựng website xem phim online
 
Đề tài: Xây dựng ứng dụng game Android đoán lá bài đã chọn
Đề tài: Xây dựng ứng dụng game Android đoán lá bài đã chọnĐề tài: Xây dựng ứng dụng game Android đoán lá bài đã chọn
Đề tài: Xây dựng ứng dụng game Android đoán lá bài đã chọn
 
Xây dựng hệ thống mạng cho Công Ty Cổ Phần Trường Tân trên nền tảng server 2008
Xây dựng hệ thống mạng cho Công Ty Cổ Phần Trường Tân trên nền tảng server 2008Xây dựng hệ thống mạng cho Công Ty Cổ Phần Trường Tân trên nền tảng server 2008
Xây dựng hệ thống mạng cho Công Ty Cổ Phần Trường Tân trên nền tảng server 2008
 
Các kỹ thuật bảo trì phần mềm
Các kỹ thuật bảo trì phần mềmCác kỹ thuật bảo trì phần mềm
Các kỹ thuật bảo trì phần mềm
 
Luận văn: Xây dựng website đa ngôn ngữ cho Công ty, HOT
Luận văn: Xây dựng website đa ngôn ngữ cho Công ty, HOTLuận văn: Xây dựng website đa ngôn ngữ cho Công ty, HOT
Luận văn: Xây dựng website đa ngôn ngữ cho Công ty, HOT
 
Bài mẫu Luận văn thạc sĩ đại học Thái NGuyên, 9 ĐIỂM
Bài mẫu Luận văn thạc sĩ đại học Thái NGuyên, 9 ĐIỂMBài mẫu Luận văn thạc sĩ đại học Thái NGuyên, 9 ĐIỂM
Bài mẫu Luận văn thạc sĩ đại học Thái NGuyên, 9 ĐIỂM
 
MARKETING LOGISTICS.docx
MARKETING LOGISTICS.docxMARKETING LOGISTICS.docx
MARKETING LOGISTICS.docx
 
Đề tài: Xây dựng website giới thiệu sản phẩm phần mềm, HAY
Đề tài: Xây dựng website giới thiệu sản phẩm phần mềm, HAYĐề tài: Xây dựng website giới thiệu sản phẩm phần mềm, HAY
Đề tài: Xây dựng website giới thiệu sản phẩm phần mềm, HAY
 
Hướng dẫn tạo nas synology từ pc cũ
Hướng dẫn tạo nas synology từ pc cũHướng dẫn tạo nas synology từ pc cũ
Hướng dẫn tạo nas synology từ pc cũ
 
Luận văn: Rèn luyện kĩ năng sử dụng Atlat địa lí Việt Nam trong dạy học Địa l...
Luận văn: Rèn luyện kĩ năng sử dụng Atlat địa lí Việt Nam trong dạy học Địa l...Luận văn: Rèn luyện kĩ năng sử dụng Atlat địa lí Việt Nam trong dạy học Địa l...
Luận văn: Rèn luyện kĩ năng sử dụng Atlat địa lí Việt Nam trong dạy học Địa l...
 
Đề tài: Xây dựng ứng dụng Android truy xuất cơ sở dữ liệu, HAY
Đề tài: Xây dựng ứng dụng Android truy xuất cơ sở dữ liệu, HAYĐề tài: Xây dựng ứng dụng Android truy xuất cơ sở dữ liệu, HAY
Đề tài: Xây dựng ứng dụng Android truy xuất cơ sở dữ liệu, HAY
 

Similar to Join the Swarm P2P Architecture

Bittorrent final seminar
Bittorrent final seminarBittorrent final seminar
Bittorrent final seminarChirodeep Das
 
P2P Seminar
P2P SeminarP2P Seminar
P2P SeminarCoRehab
 
Bit torrent protocol
Bit torrent protocolBit torrent protocol
Bit torrent protocolD bipul lomga
 
Peerto Peer Networks
Peerto Peer NetworksPeerto Peer Networks
Peerto Peer Networkssanjoysanyal
 
Bit torrent protocol seminar by Sanjay R
Bit torrent protocol seminar by Sanjay RBit torrent protocol seminar by Sanjay R
Bit torrent protocol seminar by Sanjay RSanjay Ravishankar
 
Bit Torrent Protocol
Bit Torrent ProtocolBit Torrent Protocol
Bit Torrent ProtocolAli Habeeb
 
Bit Torrent Technology
Bit Torrent TechnologyBit Torrent Technology
Bit Torrent Technologyguestc67adeb
 
Commonly Used Peer to Peer Methods & Applications
Commonly Used Peer to Peer Methods & ApplicationsCommonly Used Peer to Peer Methods & Applications
Commonly Used Peer to Peer Methods & Applications905426
 
torrent technology ppt for students and teachers
torrent technology ppt for students and teacherstorrent technology ppt for students and teachers
torrent technology ppt for students and teachersAbdealiVankanerwala
 
Torrent Seminar inc.- working, terms, details
Torrent Seminar inc.- working, terms, detailsTorrent Seminar inc.- working, terms, details
Torrent Seminar inc.- working, terms, detailsMayur Kathale
 
BitTorrent Protocol
BitTorrent ProtocolBitTorrent Protocol
BitTorrent ProtocolSridharBR
 
02 - Topologies of Distributed Systems
02 - Topologies of Distributed Systems02 - Topologies of Distributed Systems
02 - Topologies of Distributed SystemsDilum Bandara
 
Filesharing using bittorrent protocol
Filesharing using bittorrent protocolFilesharing using bittorrent protocol
Filesharing using bittorrent protocolNishan Shetty
 

Similar to Join the Swarm P2P Architecture (20)

Bittorrent final seminar
Bittorrent final seminarBittorrent final seminar
Bittorrent final seminar
 
P2P Seminar
P2P SeminarP2P Seminar
P2P Seminar
 
P2p Peer To Peer Introduction
P2p Peer To Peer IntroductionP2p Peer To Peer Introduction
P2p Peer To Peer Introduction
 
Bit torrent protocol
Bit torrent protocolBit torrent protocol
Bit torrent protocol
 
Peerto Peer Networks
Peerto Peer NetworksPeerto Peer Networks
Peerto Peer Networks
 
Bit torrent protocol seminar by Sanjay R
Bit torrent protocol seminar by Sanjay RBit torrent protocol seminar by Sanjay R
Bit torrent protocol seminar by Sanjay R
 
Bit Torrent Protocol
Bit Torrent ProtocolBit Torrent Protocol
Bit Torrent Protocol
 
Bit Torrent Technology
Bit Torrent TechnologyBit Torrent Technology
Bit Torrent Technology
 
Bittorrent
BittorrentBittorrent
Bittorrent
 
Commonly Used Peer to Peer Methods & Applications
Commonly Used Peer to Peer Methods & ApplicationsCommonly Used Peer to Peer Methods & Applications
Commonly Used Peer to Peer Methods & Applications
 
BitTorrent
BitTorrentBitTorrent
BitTorrent
 
Torrent technology
Torrent technologyTorrent technology
Torrent technology
 
torrent technology ppt for students and teachers
torrent technology ppt for students and teacherstorrent technology ppt for students and teachers
torrent technology ppt for students and teachers
 
Torrent Seminar inc.- working, terms, details
Torrent Seminar inc.- working, terms, detailsTorrent Seminar inc.- working, terms, details
Torrent Seminar inc.- working, terms, details
 
BitTorrent Protocol
BitTorrent ProtocolBitTorrent Protocol
BitTorrent Protocol
 
Bittorrent
BittorrentBittorrent
Bittorrent
 
Bittorrent
BittorrentBittorrent
Bittorrent
 
02 - Topologies of Distributed Systems
02 - Topologies of Distributed Systems02 - Topologies of Distributed Systems
02 - Topologies of Distributed Systems
 
Filesharing using bittorrent protocol
Filesharing using bittorrent protocolFilesharing using bittorrent protocol
Filesharing using bittorrent protocol
 
Types of servers
Types of serversTypes of servers
Types of servers
 

Recently uploaded

[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
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
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 

Recently uploaded (20)

[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
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
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 

Join the Swarm P2P Architecture

  • 2.  Peer to peer  More users, better it is  Large amounts of data transfer  Encourages peers to upload  > a quarter of a billion monthly users*
  • 3.  Client-server architecture  Conventional method used for years  Direct connection between server & client  Large no. of dedicated servers
  • 4.  Download data at high speeds  Reach high transfer rates very quickly  No loss of files once uploaded  File availability does not depend on popularity
  • 5.  Single point of failure  Maintenance of servers  Servers require large bandwidth  Website crash eg: VTU website
  • 6.  Decentralized communications model  Nodes(peers) are interconnected  Content not on a central server  Content present on peer’s computer  No need of server for data transfer  Peers->provide and consume resources
  • 7.  Designed as P2P MP3 sharing service  Song downloaded from other peer  Server only used to connect peers  Redefined the internet
  • 8.  Peers run Napster utility  Central Index Server(CIS)  Peers connect to CIS  Peers inform CIS about files on their directory  When the user wants a file, he queries the CIS  CIS directs them to the computer that has it  Connection is established between peers  Transfer is initiated
  • 9.
  • 10.  Transfer takes place from a single source  Speed limited to upload capacity of source  Requires only a subset of users to share  Encourage free-riding  Exerts too much load on original sources  Napster was shutdown in its original form
  • 11.  No CIS like the one used in Napster  Made use of FastTrack protocol  Super nodes and ordinary nodes  1 super node serves 60 to 150 ordinary nodes
  • 12.  Software comes with a list of super nodes  The client connects to one of the super nodes  A file request in passed through super node  Super node passes the query super nodes  The other super nodes pass it to ordinary nodes  The ordinary nodes ask other ordinary nodes  7 levels deep  If a file is found, transfer takes place  Super nodes do not take part in the transfer
  • 13.
  • 14.
  • 15.  Super node has to handle lot of traffic  Transfer happens between only 2 peers  Bandwidth available to receiver not utilised  Encourages free-riding
  • 16. Similarities with Napster:  Users share their files with everyone else  Users run a software to connect to network Differences with Napster:  No central database like Napster  Machines inform other machines about files  Achieved using distributed query approach
  • 17.  User types in the name of the required file  This machine requests other known machines  These machines search their directory  If not found, forward the request  This process may go 7 levels deep  A single search may cover 8000 machines
  • 18.
  • 19.  The 8000 machines may not contain the file  Takes time for search results to appear  Bandwidth to handle requests from other users  Bandwidth available to receiver not utilised
  • 23.  Seeder  Leecher  Torrent file  Swarm
  • 24.  Seeder  Leecher  Torrent file  Swarm  Tracker
  • 25.  Create a torrent ◦ Select files ◦ Choose a tracker ◦ Select saving directory ◦ Select piece size(better left untouched) ◦ Start seeding!!
  • 26.  Downloading files ◦ Download torrent file ◦ Client software communicates with a tracker to find  Other computers that have the complete file (seeds)  Those with a portion of the file ◦ Peers communicate with each other ◦ Download/upload starts from/to different peers
  • 27.  .torrent file ◦ Metadata about the required file  The URL of the tracker  Pieces <hash1, hash 2,…, hash n>  Piece length  Name of the file  Length of the file
  • 28.  Tit for tat approach  Optimistic unchoking  Random first piece  Rarest first  Endgame mode
  • 29.  Pollution attack  Bandwidth shaping
  • 30.  Open source  Share large amount of data quickly  Discourages free-riding  More users, the better it is  Download takes place from multiple locations  Reduces burden on original distributors  Easy to download expensive software, movies  Organisations distribute legitimate software
  • 31.  Leechers may leave swarm after download  Unpopular content has no seeds  Takes time to reach high download speeds  No streaming playback