File sync library

I am looking at C / C ++ libraries (Win / Linux) that allow me to synchronize information over a network. I want to run several instances of my program (on different computers) and I want to synchronize files locally instead of remotely accessing files over the network in one place.

If all instances are designed to maintain database consistency, it should also be aware of any message delivery errors, so the ack mechanism is needed.

I came across a couple of solutions, but I'm still trying to figure out what my best solution would be.

Any suggestions are welcome and feel free to ask for any clarifications.


Edit

I am learning enet and UDT, who has experience using it?

+4
source share
1 answer

I think the design space for such a thing is pretty huge, but it reminded me of some cool library that I saw the other day, VAST . The idea is that it is a spatially represented distributed publication / subscription model. Perhaps it adapts to your goal.

Another thing that is probably immediately useful if you are most interested in file synchronization is librsync . It implements the rsync delta algorithm in appearance.

+1
source

All Articles