Chen, Yung-Min
2017-03-12 07:23:57 UTC
Hi,
I am developing an application that shares files among a cluster of machines in a local network using Libtorrent. Each machine in the cluster may receive batches of files from external sources at any time. The goal is to have all files received in a batch on each machine automatically propagate to every other machine as soon as they are received, so that every machine will have the same set of files received on all machines within reasonable time.
My implementation creates one torrent for each batch of files received on a machine; the machine then seeds the torrent immediately for other machines to download. There is no user interaction; everything happens automatically. The torrent size varies from 25 Mbytes up to ~ 2GB each. The number of machines (peers) are not big (20~25), but the number of torrents (seeding and downloading) could be large on each machine since each machine receives a batch of files about every couple of minutes. I am using local service discovery and auto-managed session with default settings parameters.
The file distribution works very well at the beginning, but as time goes on some torrents take a few minutes to propagate to all systems in a Gbit network connection. I am new to Libtorrent and would like to solicit your advice on the session settings and tuning parameters I should set to resolve the slow distribution problem described above. Any suggestion will be very much appreciated.
Thanks in advance!
Yung
I am developing an application that shares files among a cluster of machines in a local network using Libtorrent. Each machine in the cluster may receive batches of files from external sources at any time. The goal is to have all files received in a batch on each machine automatically propagate to every other machine as soon as they are received, so that every machine will have the same set of files received on all machines within reasonable time.
My implementation creates one torrent for each batch of files received on a machine; the machine then seeds the torrent immediately for other machines to download. There is no user interaction; everything happens automatically. The torrent size varies from 25 Mbytes up to ~ 2GB each. The number of machines (peers) are not big (20~25), but the number of torrents (seeding and downloading) could be large on each machine since each machine receives a batch of files about every couple of minutes. I am using local service discovery and auto-managed session with default settings parameters.
The file distribution works very well at the beginning, but as time goes on some torrents take a few minutes to propagate to all systems in a Gbit network connection. I am new to Libtorrent and would like to solicit your advice on the session settings and tuning parameters I should set to resolve the slow distribution problem described above. Any suggestion will be very much appreciated.
Thanks in advance!
Yung