Comments (5)
from torf.
In the end I didn't manage to establish what the maximum commonly supported piece size is, but I started to limit it to 4 MiB and so far received no complaints. That might be a bit too extreme, though.
from torf.
https://wiki.theory.org/index.php/BitTorrentSpecification says:
Current best-practice is to keep the piece size to 512KB or less, for torrents around 8-10GB, even if that results in a larger .torrent file. This results in a more efficient swarm for sharing files. The most common sizes are 256 kB, 512 kB, and 1 MB.
After reading these guidelines, I think I might decrease it even further down to 1 MiB. But yeah that article is just a recommendation, whereas my original report was about software that downright refuses to download the torrents of certain sizes. Unfortunately I cannot comment precisely on what is safe and what is not.
from torf.
from torf.
Yes, thank you, definitely, I was good even before with the manual override of piece size exceeding 4 MiB in my scripts. I only wanted to bring to your attention that there were users who would have troubles with torrents created by the prior implementation. Closing the issue :)
from torf.
Related Issues (20)
- Missing __enter and __exit method HOT 8
- How can I make it not create a directory HOT 1
- Is it possible to add a file with a different filename inside the torrent? HOT 4
- Too many open files HOT 5
- Piece size not power of two HOT 5
- [Feature request]load torrent file from bytes object. HOT 1
- infohash got changed after load, without any modification HOT 1
- Add link to torf-gui in readme HOT 5
- Allow setting 32MB piece size HOT 9
- `collections.abc.ByteString` is deprecated in Python 3.12 and will be removed in Python 3.14 HOT 1
- License HOT 4
- Create single file torrent from a stream HOT 5
- Allow creating 64 MB piece size HOT 2
- Subfolders HOT 2
- torf should prefer .utf-8 keys when they exist HOT 1
- Drop non critical metainfo instead of erroring? HOT 2
- Exclude tests directory HOT 1
- Can torf write a torrent to a byte stream rather than a file? HOT 1
- Question about handling filepaths HOT 2
- validate() should not check files HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from torf.