Chizbang Posted February 28, 2014 Report Share Posted February 28, 2014 I want to sync some source code accross LAN every time I make a save to some source code files. I have set the file refresh interval to 10 and it takes about 30 seconds to sync each time I make a file save. Any ideas? Quote Link to comment Share on other sites More sharing options...
GreatMarko Posted February 28, 2014 Report Share Posted February 28, 2014 What operating system are you using? ...as the OS generally determines how quickly Sync is able to detect changes to your files. For example, on Macs, there is no "real time" detection of file changes (a limitation of the underlying OS, not of Sync) - instead, Sync has to perform a folder rescan at a recurring interval (every 10 minutes by default, but this can be configured). On other devices, a delay between a file being modified and the changes being synced can commonly be a few to several seconds. Quote Link to comment Share on other sites More sharing options...
Chizbang Posted February 28, 2014 Author Report Share Posted February 28, 2014 (edited) On OSX for editing and Windows for receiving. I have set both mahcines to 10 on the refresh interval thingy but it seems to take 30 regardless. Edited February 28, 2014 by Chizbang Quote Link to comment Share on other sites More sharing options...
RomanZ Posted February 28, 2014 Report Share Posted February 28, 2014 Chizbang, Currently BTSync can't make it much faster. After receiving system notification on file change it takes a while (10-15sec) to make sure that the OS or App is not going to do any additional changes to the file. Also, peers exchange the tree synchronisation messages every 10 seconds, plus it takes a while to merge the file trees itself. So even if you set up the folder rescan interval to a very humble value, it won't make sync start faster. Quote Link to comment Share on other sites More sharing options...
Insec Posted May 5, 2014 Report Share Posted May 5, 2014 Chizbang, Currently BTSync can't make it much faster. After receiving system notification on file change it takes a while (10-15sec) to make sure that the OS or App is not going to do any additional changes to the file. Also, peers exchange the tree synchronisation messages every 10 seconds, plus it takes a while to merge the file trees itself. So even if you set up the folder rescan interval to a very humble value, it won't make sync start faster. Well, ok, one question: why dropbox and other cloud services syncs more faster? They don't wait 10 after file save, they start sync immediately. Quote Link to comment Share on other sites More sharing options...
RomanZ Posted May 6, 2014 Report Share Posted May 6, 2014 @Insec, I'm not familiar with Dropbox source codes so I can't say which technology and which algorithms do they use to determine if file change is complete. For BTSync it takes 10-20 seconds to start sync. The team is working constantly to improve BTSync, so it might get better in future. 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.