-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Create a super-seeder docker image/container #43
Comments
Do you think the docker image should assume a disk space in the TBs, to automatically seed everything, or something more conservative? |
@nemobis The whole download.kiwix.org is around 10TB. It is difficult to assume that a seeder has so much space for this. What might be a solution to that problem is to be able to share (as a Docker environment variable) a list of path regular expressions to filter what he wants to seed from download.kiwix.org. |
An old attemps can be found in this repo with the files:
These files should be removed at the end of the implementation |
This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions. |
Here a base of work https://gitlab.com/adrienandrem/kiwix-torrent-watcher |
I see this is very recent. What's the status of this? Is there any need beyond that? |
This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions. |
I have been thinking about this ticket the last weeks and I think I know now how to do that the best way. First of all, I plan to use a pre-existing Docker image https://github.com/linuxserver/docker-qbittorrent because:
Considering we reuse
|
This issue has been automatically marked as stale because it has not had recent activity. It will be now be reviewed manually. Thank you for your contributions. |
I like the idea of using I don't get if we want to :
It looks like the initial idea was option 2, but we have switched to option 1, and I don't know why I see lots of advantages in option 2 because:
The drawbacks of option 2 are that:
Looking at existing proposal, I can't comment much on that, it's a shell script and it's clearly not a language I can comment a lot. The overall logic is simple so it looks like it will work. I don't know how many subtleties we might discover once running in real conditions. I wonder if we should instead write this additional tooling in Python, because:
|
I think what this ticket misses is an (up-to-date) description of what problem this should solve with user scenarios examples. |
We should be able to do both because:
Creating a HTTP mirror needs a lot more of infrastructure effort than creating a BitTorrent super-seeder. This is why both solutions don't really compete in the same field. The most obvious ones been to have a big and stable bandwidth and a fix IP.
Yes, this should be trivial. I'm ready to reconsider the requirements if not.
True, but that part is already implemented in the BitTorrent tracker, this is not really new work.
True, wonder if this part is also not handled in the BitTorrent tracker!
If I remember correctly, I was almost over with the work and I was just lacking time. I don't remember having faced big challenges linked to subtilities.
Nothing against this, should be fairly easy. I made it in Bourne shell because I didn't wanted to impose Perl as I can not write Python myself. Actually this is even probably a good idea. |
For the following reasons I believe the effort of completing this PR woukd be really helpful:
For all these reasons I believe we should now secure the super-seeder guaranties download via BitTorrent works as good as we could expect. |
Nice to see some movement. I'm happy to help test this but I'll need some suggestions on what files to seed (the last times I tried to seed Kiwix torrents I failed to reach any meaningful ratio). What I'd personally really like is a ruTorrent/transmission/other plugin to handle the addition and removal of torrents. That would be easy to install on top of any existing installation method, be it a web UI or a docker image. |
Since around two years, we have our own BitTorrent tracker. Therefore that for any "famous" ZIM file, you will find peers to share bits. Not even talking about the Web seeds. This issue is only there to offer a guarante, to have - at least - one peer (to download from).
To me this belongs to an other issue which is left to open. I was not even aware it was possible to create plugin for such a purpose to Transmission. |
Ok. I've ever had trouble finding peers via DHT or the public trackers. I just never get anyone leeching these days, probably because the web seeds are so fast. So I have no idea what to seed.
Maybe. OTOH it's compatible with the idea you wrote above:
The "script" can be implemented as something that uses the transmission/rtorrent/other RPC. |
Looks like still not all BitTorrent clients can deal properly with our Web seeds. Having a complete and always running super-seeder would help to solve that problem. We could run it on a mirror (files already there). Additionally this Docker image might be interesting to a few Kiwix supporters who have that way a solution to support the project by easily sharing a bit of there bandwidth.
Using rsync, see https://download.kiwix.org/README, and rtorrent, that should not be too complicated.
The text was updated successfully, but these errors were encountered: