Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use larger rage request for webseed. #1759

Open
ivan386 opened this issue Oct 18, 2019 · 1 comment
Open

Use larger rage request for webseed. #1759

ivan386 opened this issue Oct 18, 2019 · 1 comment

Comments

@ivan386
Copy link

@ivan386 ivan386 commented Oct 18, 2019

Original discussion: Use larger chunks for torrents

What version of this package are you using?
Don't know.
What problem do you want to solve?
Many small requests to one server.

What do you think is the correct solution to this problem?
http://bittorrent.org/beps/bep_0019.html

HTTP/FTP are "streaming" type protocols, and do not have BitTorrent's concept of blocks. For HTTP you can use byte-ranges to resume anywhere or download specific ranges you specify, but with FTP you can only say where to start the download.

I wanted to have many sequential blocks ("gaps") in the data downloaded from BitTorrent peers so a HTTP/FTP connection would have big spaces to fill in. You could use the byte-ranges with HTTP to request individual blocks--but each request will show in the server's logs, and somebody is going to think it is a denial of service attack on them if their shows 100's of connections in their log from the same IP.

Are you willing to submit a pull request to implement this change?
No

@jimmywarting

This comment has been minimized.

Copy link
Contributor

@jimmywarting jimmywarting commented Oct 18, 2019

Remember suggesting some streaming method with the fetch api #1497

might be relevant

so instead of increassing the size you continue to read the next sequential block until it finds a block that has already been read or something like that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.