hhz Posted August 23, 2013 Report Share Posted August 23, 2013 Hi,here's a feature request:btsync should never retrieve data from a remote sync server if that data is also available from a sync server on the local network.Reasoning: Assume there are three btsync machines, one at the office, one at home, one laptop. The laptop serves as sneakernet-acceleration - user makes a major change on the office machine, syncs to laptop through the office LAN, brings laptop home, turns on home machine.For this case, btsync on the home machine will retrieve data from the office machine even if the laptop is already present on the home network as a 100% up-to-date copy.I believe a change like this would reduce the amount traffic on the user's internet connection to remote servers significantly.Thanks! Quote Link to comment Share on other sites More sharing options...
GreatMarko Posted August 23, 2013 Report Share Posted August 23, 2013 I believe a change like this would reduce the amount traffic on the user's internet connection to remote servers significantly.It might reduce the amount of traffic, but it would adversely affect Sync's performance!Assume you have a large file on 3 devices (1 local device, 2 remote devices), and the file is to be sync'd to a 4th device (also local) that doesn't yet have the file. Sync will be far faster if different chunks of data can be simultaneously obtained from all 3 sources at once, rather than just 1 (the local one).If you really don't wish Sync to use "remote" sources when syncing, you can always turn off the Relay, Tracker, and DHT options Quote Link to comment Share on other sites More sharing options...
hhz Posted August 23, 2013 Author Report Share Posted August 23, 2013 I don't think that this is significant drop in performance. I'd guess that in my case, a sync that took two hours with the external source would take two hours and five minutes instead. Being nice to The Internet out there and keeping my pipe clear by not creating unnecessary traffic is more important to me than a negligible improvement in speed. Quote Link to comment Share on other sites More sharing options...
gabor Posted August 23, 2013 Report Share Posted August 23, 2013 I agree +1 Quote Link to comment Share on other sites More sharing options...
Elradon Posted August 23, 2013 Report Share Posted August 23, 2013 That makes sense to me, +1. Quote Link to comment Share on other sites More sharing options...
hhz Posted July 18, 2014 Author Report Share Posted July 18, 2014 FYI: This undesired behaviour still exists in 1.3.106 and I still consider it an issue that needs to be fixed. Situation today: An office machine with a sync folder of 100 GB and a home NAS with that same sync folder. These two are synced. I have just set up a laptop at my office and added the sync folder there. Right now, the laptop is downloading files from the remote NAS at the top of its pipe's upload capacity, clogging the internet. While a full copy is available just 1 meter next to it on the local network. This is bad for the internet. btsync should not hog traffic bandwidth when it's not necessairy. Quote Link to comment Share on other sites More sharing options...
nellie4568 Posted July 18, 2014 Report Share Posted July 18, 2014 I have multiple machines both local(some) and remote(many) and so far when I have large files they sync local at full speed on the switch, and comparatively a tiny amount from remote servers. BTYsync may not officially prioritize local traffic, but the speed of the network you're connected to impacts where the data eventually comes from. I would check your local network configuration for a bottleneck. Alternatively look here for forcing local only transfer. tl;dr Change your NAS and office server (and likely laptop as well) to local only sync (turn off all options but 'search LAN'). Quote Link to comment Share on other sites More sharing options...
BeTheSync Posted August 26, 2014 Report Share Posted August 26, 2014 btsync should never retrieve data from a remote sync server if that data is also available from a sync server on the local network. ++ I reconized btsyncs "faulty" behaviour some time ago, but never realized, it wasn't my fault, but a feature. I often wondered, why the transfer of the data took so damn long, when all the files i'd like to share are on another computer just next to me in the same network.(For $$ reason, we have a "small" Internet line to the world but 1GBit network inside our company.) It seems obvious to me, that "local" data needs be prefered before non-local data. Dropb*x btw. has a great feature called "LAN-Synchronisatio", which -if activated by the user- just syncs all the data in the LAN first, and then to/via the internet. Quote Link to comment Share on other sites More sharing options...
goli Posted September 7, 2014 Report Share Posted September 7, 2014 I like that idea. But I wouldn't bind it to local computers. Instead I would call it like this:If two remote nodes provide the same data and the reached bandwidth differs by more than 75%, just skip the slower one. Make the actual percentage configurable. The idea is: If the bandwidth differs by a certain percentage, the slower node has no significant impact in the overall performance. So there is no need to fill up the like, no matter if its the own line to the internet or the remote nodes line. Regards,Stephan. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.