forked from rucio/rucio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: Transfers: prototype bittorrent transfertool using deluge
Additional metadata is added to each file did containing the merkle hash tree of the bittorrent v2 format. This way, we can reconstruct the .torrent files from this data, allowing us to transfer files directly between RSEs using the 'deluge' bittorrent clients running on each of the RSEs. Deluge is client/server and is written in python. Because of that, it seemed like a very good idea to rely on this bittorrent client for integration with rucio. However, it is very heavily async and relies on twisted (which I don't know at all) for its internals. Because of that, the current prototype implementation using deluge is overly complicated and hacky. It spawns a separate process for each api call to deluge because the twisted async loop is not restartable. There should definitely be better ways to handle this...
- Loading branch information
Radu Carpa
committed
Jan 9, 2024
1 parent
d9f6163
commit 0ead260
Showing
17 changed files
with
1,355 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.