this post was submitted on 11 Jul 2023
1 points (100.0% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

54716 readers
269 users here now

⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don't request invites, trade, sell, or self-promote

3. Don't request or link to specific pirated titles, including DMs

4. Don't submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder

📜 c/Piracy Wiki (Community Edition):


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

founded 1 year ago
MODERATORS
 

Every now and then, when I'm connected to a torrent a peer will connect that has a reference to "Swarm Merging" in their name. What is swarm merging?

top 3 comments
sorted by: hot top controversial new old
[–] lvxferre@lemmy.ml 1 points 1 year ago (1 children)

It's a way to share files across seeders/peers of different torrents, as long as the torrents contain at least one identical file. For example, let's say that:

  • you're downloading torrent1. It shares the files A and B. You got A already, but since the number of seeders dropped considerably, you're having a really hard time downloading B.
  • there's also torrent2, sharing files B and C. Fairly active, with lots of seeders.

Without swarm merging, you're stuck waiting for new seeders or peers from torrent1 that have the file B. With swarm merging, your torrent program will get the file B from people sharing torrent2 too.

I recall this feature from Vuze; but apparently BiglyBT also uses it.

[–] dragonfly4933@lemmy.dbzer0.com 0 points 1 year ago (1 children)

BitTorrent v2 allows this also. In v1, torrents with multiple files are hashed continuously (cat) together without respect to file boundaries. A side effect of this that many people notice is that to grab a specific file may require downloading some of the files before or after the one you want.

Under v2, each file is hashed separately, so this fixes the aforementioned problem and should allow sharing of files across torrent files.

[–] bear_with_a_hammer@lemm.ee -1 points 1 year ago* (last edited 1 year ago)

You can extract, calculate and compare those hashes using this tool.

In the next bug-fix release of libtorrent the tool will have ability to generate magnet links to download torrents without duplicate files, saving storage, bandwidth and most importantly time.

Very useful for dumps, libraries, video/photo archives ;)