Use A Device As A Buffer With Bittorrentsync


cyberlord64

Recommended Posts

Hello everyone.

I have been using bit torrent sync for several months now. IT ROCKS! The only problem that i can find so far is that at least two devices need to be on for it to work. I solved it simply using a 20$ raspberry pi and a 5$ microsd card sized at 16GB. This of course sets my maximum syncing capability at... 16GB... Not something i can work with since i have over a TB of data that i sync. So i was thinking...

 

Why not use a device as a BUFFER? Adding the option to a single device, to retain information of a file ONLY WHEN IT IS NOT SYNCED TO ALL OTHER NON-BUFFER DEVICES!

 

For example... I have two 1TB folders, one on my desktop and one on my laptop. In between i add a device (for example my above raspberry pi setup).

I set the raspberry pi to be a buffer. Now it holds THE DIFFERENCES of files between my shared devices, BUT NOT THE FILES THEMSELVES. 

Now lets say i just created a 4GB video with my cybershot and stored it on my laptop, while my desktop is off.

The raspberry pi picks up the difference and begins syncing the file. Once that's done i turn off my laptop and later in the day, turn on my desktop. Again the difference is located and the file begins to sync to my desktop. Now that there are no differences between Laptop And desktop, The file on my BUFFER DEVICE is no longer needed and is deleted.

 

This way a low power, low cost, low maintenance device (a raspberry pi, android stick, old android phone, old tablet or netbook etc) can be used to make bittorrent sync no different (in fact superior) to any other server based syncing service. There would simply be no drawbacks to using it.

 

Your thoughts on this? Is this feature easy or difficult to implement? I think it is a useful feature and needs further exploring. Thank you for your time.

Edited by cyberlord64
Link to comment
Share on other sites

Interesting idea but probably not one likely to be implemented (imo). The solution for your specific scenario would be to add more peers to increase the chance of one being online (not always easy with 1tb folders though I know :) ). The complexity of creating a buffering device could get high fast. I could see slightly more benefit to a buffering device if btsync used deltas but it doesn't nor would that apply to your example of a new file.

Update: I haven't played around with the on demand/selective sync stuff but perhaps a pro version feature could be to have a date based sync. So it syncs (inbound shares) only files created in the last X days. This would get you a more generic but similar feature set although something would still need to be done with the limited storage of these devices and how it handles that. Would it delete the oldest file when full?

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.