Hi,
Just wanted to check , if there has been any discussion on having a bittorrent based module to copy/distribute files, Atleast one use case i can think of is distributing large files on many machines would be much faster if bittorent is used instead of copy module. Thoughts ?
Or what is the recommended way to move large files to multiple machines ?
Regards,
I’d be open to including a module like that in core, (similar to murder, perhaps?), given testing.
It could even start serving bittorent in the background and then stop serving when done with all hosts in the task.
Generally speaking “local_action: rsync …” has been the suggested way to move data for now as shown on the FAQ.
Yes, even i was looking at something like https://github.com/russss/Herd or similar, which is based on Murder. As i guess bittorrent would be faster that other methods, (I might be wrong). I am still reading/researching how best to move/deploy large files.
Regards,
Spawning it’s own tracker looks pretty slick.
What you might want to do is find some way to wrap that such that you could spawn a herd if one was not running for the file path and close it after X or if there were no more connections.
I think that’s going to be the fun part of the research bit.