This repository has been archived by the owner. It is now read-only.
File sync at full network speed. Ring Sync / Chain Sync.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
doc
launcher/staticPXE
.gitattributes
.gitignore
LICENSE_N0
README.md
main.go
main_test.go

README.md

RingSync

RingSync - file synchronization utility.

RingSync synchronize file on multiple computers at full network speed, i.e. no matter how many computers need to be synced (two or two thousand) the synchronization time will be the same (as only two computers are synced).

Article: RingSync: синхронизируем на полной скорости сети [RU]

RingSync scheme: 1 x Seed - switch - N-1 x Peers + 1 x Leech

Usage examples

Seed (listen 5001 port, wait connection from leech/peer IP 192.168.0.2, send file "big_file.vhd"):

RingSync -mode=seed -port=5001 -leech=192.168.0.2 -if=big_file.vhd

Peer (listen 5001 port, wait connection from leech/peer IP 192.168.0.3, connects to seed/peer 5001 port and IP 194.168.0.1, save to file "big_file.vhd"):

RingSync -mode=peer -port=5001 -leech=194.168.0.3 -seed=194.168.0.1:5001 -of=big_file.vhd

Leech (connects to seed/peer 5001 port and IP 194.168.0.1, save to file "big_file.vhd"):

RingSync -mode=leech -seed=194.168.0.2:5001 -of=big_file.vhd