I am doing some distributed work with RackSpace cloud servers and I am using bittorrent to distribute my files. It works surprisingly well. However, distributing the torrent files themselves are not so nice. How would you go around doing that? Right now I just scp the torrent files to the servers, and of course I could write a script that copies it to sqrt(n)
servers instructing each to again copy to sqrt(n)
but that's a pita to work it.
Not knowing what exactly your problem is, I can recommend
pscp
from parallel-ssh as a tool to upload small files to multiple servers.You prepare a list of servers to upload to and let it know what to take locally and where to put it remotely. For example:
Given they're very small files typically couldn't you just have a 'dropbox' using HTTP with a cron'ed script doing a curl/wget with wildcard?
You could have the torrent clients check an rss feed for new torrent files or switch to magnet links instead of torrent files.
You might want to look into murder
.
Murder was/is developed by the folks at twitter, and they're using it daily to distribute files.