SlideShare ist ein Scribd-Unternehmen logo
1 von 13
SWORD2 &
 BITTORRENT
A Network Admin’s Worst Nightmare
     Tim Brody, Damian Steer,
Sander van der Waal, Steve Welburn
WHAT IS SWORD2?

SWORD2 is a protocol for depositing stuff and its metadata
with a repository. It's implemented as a profile of the Atom
Publishing Protocol, which is roughly:

  Client GETs service document from server

  Client POSTs stuff for deposit and metadata to url
  mentioned in service document

  Server responds with 'created this at url'
Client can GET url

  Client edit url content with PUT

  Client can DELETE url

Atom originated in blogs, and SWORD2 essentially just
expands the metadata used.
THE PROBLEM WITH
BIG DEPOSITS
Big deposits take ages to transfer, which makes them
suseptible to interruptions due to error, or simply boredom
('Oops, I closed my laptop...'). In itself that ought to be
recoverable since HTTP supports partial uploads using the
range header. However if you look at steps 2 and 3 above
you may see a problem:

  Client POSTs stuff for deposit and metadata

  Server responds with 'created this at url'
THE IDEA

Send a reference to content via SWORD, rather than the
content itself.

We could use any number of schemes then, such as ftp,
rsync or http. (HTTP will work fine this way around because
the content has an identity and could be resumed)

(Aside: it's also interesting that a repository could chose not
to download, such as situations where the data is stored in a
national subject repository)
OR BITTORRENT

Unlike rsync, ftp, or http, there are many 'server'
implementations, with nice GUIs, for a variety of platforms
in a number of languages. ('server' and 'client' labels aren't
especially helpful with bittorrent)

Handles partial downloading with ease.

No packaging required: moving directories is as easy as
individual files.
WHAT DO YOU NEED?


A bittorrent client at the depositor's end. This is where the
files start.

A bittorrent client at the repository end. This is where the
files will appear.

A bittorrent tracker.
WHAT WE NOW KNOW

Bittorrent is a peer-to-peer network. The clients are peers, it
just happens that some have all the data ('seeders'), and
some are seeking data ('leechers'). Data is identified (very
roughly) using a hash of the content.

Clients need to find each other, and to do this they use
servers called 'trackers', the URLs of which are included in
torrent files. Trackers are pretty simple: you can contact
them to say 'I am interested in X', and find other clients
interested in X.
USING SWORD2 AND
BITTORRENT

Uploader opens bittorrent client, and creates a torrent file
for a file or directory.

The tracker used may be the repository itself.

SWORD deposit is made as usual, but the content is a
torrent file.

Content will be deposited.
IMPLEMENTATION

Tim has / is making EPrints a bittorrent tracker.

It will spot torrents uploaded via SWORD.

Uses transmission-cli to download.

Steve is making a deposit client.

Makes a torrent file, opens in torrent client, and uploads via
SWORD.
INTERESTING STUFF



This really helps with the other issue of large datasets:
downloading. I hope people will typically want individual
files, but this would allow full downloads without killing the
server.
MORE INTERESTING
STUFF


It's robust, and actually quite secure. You can't download
without the torrent file.

Can limit torrents to a particular tracker.

The tracker also provides basic usage information.
THE DISTRIBUTED
CONTENT STORE



The picture shifts from repositories holding data to data
being spread across the network.

Weitere ähnliche Inhalte

Ähnlich wie SWORD2 and Bittorrent

(130316) #fitalk bit torrent protocol
(130316) #fitalk   bit torrent protocol(130316) #fitalk   bit torrent protocol
(130316) #fitalk bit torrent protocolINSIGHT FORENSIC
 
Assignment #2 Lab Exercise – HTTP INT6143, Enterpr.docx
Assignment #2 Lab Exercise – HTTP   INT6143, Enterpr.docxAssignment #2 Lab Exercise – HTTP   INT6143, Enterpr.docx
Assignment #2 Lab Exercise – HTTP INT6143, Enterpr.docxdavezstarr61655
 
Bit torrent protocol by milan varia
Bit torrent protocol by milan variaBit torrent protocol by milan varia
Bit torrent protocol by milan variaMilan Varia
 
Wifi Security, or Descending into Depression and Drink
Wifi Security, or Descending into Depression and DrinkWifi Security, or Descending into Depression and Drink
Wifi Security, or Descending into Depression and DrinkSecurityTube.Net
 
Lightweight Deposit using SWORD
Lightweight Deposit using SWORDLightweight Deposit using SWORD
Lightweight Deposit using SWORDAdrian Stevenson
 
Module 3 - How SWORD Works
Module 3 - How SWORD WorksModule 3 - How SWORD Works
Module 3 - How SWORD WorksSWORD Project
 
02 wireshark http-sept_15_2009
02   wireshark http-sept_15_200902   wireshark http-sept_15_2009
02 wireshark http-sept_15_2009Vothe Dung
 
How does internet works
How does internet worksHow does internet works
How does internet worksRamonNavarro46
 
Bit torrent protocol
Bit torrent protocolBit torrent protocol
Bit torrent protocolD bipul lomga
 
Unit8 java
Unit8 javaUnit8 java
Unit8 javamrecedu
 
Interoperability Fundamentals: SWORD 2
Interoperability Fundamentals: SWORD 2Interoperability Fundamentals: SWORD 2
Interoperability Fundamentals: SWORD 2Adrian Stevenson
 
Introduction to the Bittorrent Protocol
Introduction to the Bittorrent ProtocolIntroduction to the Bittorrent Protocol
Introduction to the Bittorrent Protocoltmont
 
Will “web3://” Replace “http://”?– A Guide About Web 3.0 URL and ERC- 4804 To...
Will “web3://” Replace “http://”?– A Guide About Web 3.0 URL and ERC- 4804 To...Will “web3://” Replace “http://”?– A Guide About Web 3.0 URL and ERC- 4804 To...
Will “web3://” Replace “http://”?– A Guide About Web 3.0 URL and ERC- 4804 To...madelyn nora
 

Ähnlich wie SWORD2 and Bittorrent (20)

Bittorrent
BittorrentBittorrent
Bittorrent
 
(130316) #fitalk bit torrent protocol
(130316) #fitalk   bit torrent protocol(130316) #fitalk   bit torrent protocol
(130316) #fitalk bit torrent protocol
 
Assignment #2 Lab Exercise – HTTP INT6143, Enterpr.docx
Assignment #2 Lab Exercise – HTTP   INT6143, Enterpr.docxAssignment #2 Lab Exercise – HTTP   INT6143, Enterpr.docx
Assignment #2 Lab Exercise – HTTP INT6143, Enterpr.docx
 
Bit torrent protocol by milan varia
Bit torrent protocol by milan variaBit torrent protocol by milan varia
Bit torrent protocol by milan varia
 
Wifi Security, or Descending into Depression and Drink
Wifi Security, or Descending into Depression and DrinkWifi Security, or Descending into Depression and Drink
Wifi Security, or Descending into Depression and Drink
 
BitTorrent
BitTorrentBitTorrent
BitTorrent
 
Lightweight Deposit using SWORD
Lightweight Deposit using SWORDLightweight Deposit using SWORD
Lightweight Deposit using SWORD
 
Module 3 - How SWORD Works
Module 3 - How SWORD WorksModule 3 - How SWORD Works
Module 3 - How SWORD Works
 
Bit torrent and tracker
Bit torrent and trackerBit torrent and tracker
Bit torrent and tracker
 
02 wireshark http-sept_15_2009
02   wireshark http-sept_15_200902   wireshark http-sept_15_2009
02 wireshark http-sept_15_2009
 
How does internet works
How does internet worksHow does internet works
How does internet works
 
Bit torrent protocol
Bit torrent protocolBit torrent protocol
Bit torrent protocol
 
Http_Protocol.pptx
Http_Protocol.pptxHttp_Protocol.pptx
Http_Protocol.pptx
 
Bittorrent
BittorrentBittorrent
Bittorrent
 
Web server
Web serverWeb server
Web server
 
Ftp servlet
Ftp servletFtp servlet
Ftp servlet
 
Unit8 java
Unit8 javaUnit8 java
Unit8 java
 
Interoperability Fundamentals: SWORD 2
Interoperability Fundamentals: SWORD 2Interoperability Fundamentals: SWORD 2
Interoperability Fundamentals: SWORD 2
 
Introduction to the Bittorrent Protocol
Introduction to the Bittorrent ProtocolIntroduction to the Bittorrent Protocol
Introduction to the Bittorrent Protocol
 
Will “web3://” Replace “http://”?– A Guide About Web 3.0 URL and ERC- 4804 To...
Will “web3://” Replace “http://”?– A Guide About Web 3.0 URL and ERC- 4804 To...Will “web3://” Replace “http://”?– A Guide About Web 3.0 URL and ERC- 4804 To...
Will “web3://” Replace “http://”?– A Guide About Web 3.0 URL and ERC- 4804 To...
 

Kürzlich hochgeladen

MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 

Kürzlich hochgeladen (20)

MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 

SWORD2 and Bittorrent

  • 1. SWORD2 & BITTORRENT A Network Admin’s Worst Nightmare Tim Brody, Damian Steer, Sander van der Waal, Steve Welburn
  • 2. WHAT IS SWORD2? SWORD2 is a protocol for depositing stuff and its metadata with a repository. It's implemented as a profile of the Atom Publishing Protocol, which is roughly: Client GETs service document from server Client POSTs stuff for deposit and metadata to url mentioned in service document Server responds with 'created this at url'
  • 3. Client can GET url Client edit url content with PUT Client can DELETE url Atom originated in blogs, and SWORD2 essentially just expands the metadata used.
  • 4. THE PROBLEM WITH BIG DEPOSITS Big deposits take ages to transfer, which makes them suseptible to interruptions due to error, or simply boredom ('Oops, I closed my laptop...'). In itself that ought to be recoverable since HTTP supports partial uploads using the range header. However if you look at steps 2 and 3 above you may see a problem: Client POSTs stuff for deposit and metadata Server responds with 'created this at url'
  • 5. THE IDEA Send a reference to content via SWORD, rather than the content itself. We could use any number of schemes then, such as ftp, rsync or http. (HTTP will work fine this way around because the content has an identity and could be resumed) (Aside: it's also interesting that a repository could chose not to download, such as situations where the data is stored in a national subject repository)
  • 6. OR BITTORRENT Unlike rsync, ftp, or http, there are many 'server' implementations, with nice GUIs, for a variety of platforms in a number of languages. ('server' and 'client' labels aren't especially helpful with bittorrent) Handles partial downloading with ease. No packaging required: moving directories is as easy as individual files.
  • 7. WHAT DO YOU NEED? A bittorrent client at the depositor's end. This is where the files start. A bittorrent client at the repository end. This is where the files will appear. A bittorrent tracker.
  • 8. WHAT WE NOW KNOW Bittorrent is a peer-to-peer network. The clients are peers, it just happens that some have all the data ('seeders'), and some are seeking data ('leechers'). Data is identified (very roughly) using a hash of the content. Clients need to find each other, and to do this they use servers called 'trackers', the URLs of which are included in torrent files. Trackers are pretty simple: you can contact them to say 'I am interested in X', and find other clients interested in X.
  • 9. USING SWORD2 AND BITTORRENT Uploader opens bittorrent client, and creates a torrent file for a file or directory. The tracker used may be the repository itself. SWORD deposit is made as usual, but the content is a torrent file. Content will be deposited.
  • 10. IMPLEMENTATION Tim has / is making EPrints a bittorrent tracker. It will spot torrents uploaded via SWORD. Uses transmission-cli to download. Steve is making a deposit client. Makes a torrent file, opens in torrent client, and uploads via SWORD.
  • 11. INTERESTING STUFF This really helps with the other issue of large datasets: downloading. I hope people will typically want individual files, but this would allow full downloads without killing the server.
  • 12. MORE INTERESTING STUFF It's robust, and actually quite secure. You can't download without the torrent file. Can limit torrents to a particular tracker. The tracker also provides basic usage information.
  • 13. THE DISTRIBUTED CONTENT STORE The picture shifts from repositories holding data to data being spread across the network.

Hinweis der Redaktion

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n