Advanced Network Topologies


mrjmr

Recommended Posts

I'm using resilio sync to create some offsite backups of my data to guard against theft / etc. I have a few of these nodes:

1) Local server on LAN (all data, all folders)

2) Remote rasberry pi at a friend's house (all data, all folders)

3) VPS server (some data, some folders, encrypted)

However, Node #2 has glacially slow upload speed, to the tune of ~50 KB/s. I did not expect this to be a problem, since I have all data locally. However, it seems that when syncing large files, the remote node tries to be helpful and send some blocks of the file. However, since the upload speed is so slow from that ISP, it ends up making the entire process take orders of magnitude longer than it should. Is there a way I can configure sync to prefer local peers always, and only pull from a WAN peer if a local one is unavailable? I'm aware of the ways to disable WAN altogether, but that's not my goal. Instead, I want to optimize throughput.

Link to comment
Share on other sites

@mrjmr Sorry to hear this.

50 minutes ago, mrjmr said:

Is there a way I can configure sync to prefer local peers always, and only pull from a WAN peer if a local one is unavailable?

Sync already always prefers local peers. I don't know the way to give a higher priority to them...

You can disable relay & tracker servers and use 'predefined hosts' setting as workaround.

https://help.resilio.com/hc/en-us/articles/204754349-Can-I-force-Sync-to-do-local-network-LAN-syncing-only-and-not-sync-via-the-Internet-

https://help.resilio.com/hc/en-us/articles/205458125-Folder-Preferences

Link to comment
Share on other sites

Thanks for your response. I've read both of those posts before setting up this thread. I can solve this with some firewall rules as well, but it feels like a bug to me when I have a gigabit local peer that has all my data, but I'm waiting on a remote peer that uploads at 50KB/s to give me the last few megabytes of a file. In this case, adding more nodes to the network has made it slower.

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.