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

Tracker-swarm to help with low quality public tracker servers #34

Open
draeder opened this issue Jun 22, 2021 · 2 comments
Open

Tracker-swarm to help with low quality public tracker servers #34

draeder opened this issue Jun 22, 2021 · 2 comments

Comments

@draeder
Copy link

draeder commented Jun 22, 2021

I created the following package that lets anyone create a tracker server and subsequent tracker server swarm around a shared application name: tracker-swarm. I built this to solve problems with unresponsive public tracker servers. I've tested deployments in Heroku and remixes on Glitch, and it seems to be working pretty well. It should work with P2PT. I've only tested with Bugout so far.

@draeder draeder changed the title Tracker-swarm to help with low quality trackers Tracker-swarm to help with low quality public tracker servers Jun 22, 2021
@subins2000
Copy link
Owner

This is good. Nice work 🎉

@draeder
Copy link
Author

draeder commented Jul 13, 2021

Thanks.. It still needs work. I plan to soon release v2 which will eliminate the need for a swarm ID. All tracker-swarm nodes will participate in a global tracker swarm. When a peer with a new topic needs trackers, it will be given a set of random working trackers. When another peer for that topic joins, it will be given the same list of trackers, but if the list is short because some of the trackers have dropped (bad trackers), it will be given new random trackers as a replacement for the void. Kind of like how DHT works, sort of. I probably will need to submit a PR for P2PT, because it's all based on the infohash, and P2PT doesn't expose the infohash before announcing to trackers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants