solar-resources/examples/torrent
2015-10-13 13:57:31 +02:00
..
example.py Changed torrent tracker to public 2015-10-13 13:57:31 +02:00
README.md Added some info how torrent transport works 2015-10-13 13:57:03 +02:00

Example of using torrent transport with solar. Torrent is used to distribute task data. After fetching is finished torrent client forks and continues seeding.

The example contains single node with single host mapping + transports.

Execute:

python examples/torrent/example.py
solar changes stage
solar changes process
solar orch run-once last

Wait for finish:

solar orch report last -w 100

After this you should see new entry in /etc/hosts file.

  • All created torrents are in /vagrant/torrents, it doesn't need to be shared
  • Initial seeding is done using torrent file
  • Downloading and then seeding is always done with magnetlinks