Which peer does ST choose to download a file from?

Sorry if this is answered in the Docs, I just couldn’t find it!

If I have 30 devices (different locations) all up to date and one user is out of sync, when they fire up Syncthing, what is the logic for choosing which peer to download the out of sync files from, given 30 different options.

Will it choose the best connection, closest distance, or does it pull the data from everyone concurrently to maximize download speed?

It pulls different blocks from different devices, preferring the one that has the least outstanding requests, which usually happens to be the one with the fastest connection.

1 Like

Oh right, files are divided into blocks in the database. This makes sense now, thanks.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.