Re:Asynchronous filesystem replication with FUSE and rsync
by minaguib on Thursday December 11, 2014 @09:21AM
(#8734811)
This is very interesting indeed for the described use case. AFAIK the other alternative is lsyncd
[ Parent
| on HN ]
Re:Asynchronous filesystem replication with FUSE and rsync
by Lethalman on Thursday December 11, 2014 @09:37AM
(#8734898)
lsyncd uses inotify. Also, it does rsync (or other backends) of the whole tree instead of single files AFAIK, but that's of course not a stopper as it would need few changes to implement.
In addition, I don't think lsyncd has been designed for an active/active setup, rather for a master-slave setup.
Re:Asynchronous filesystem replication with FUSE and rsync
by gnur on Thursday December 11, 2014 @09:55AM
(#8735009)
Lsyncd does not sync the entire tree every time. It depends on the situation, most of the time in our use case it starts a rsync for 5 specific files. Only on startup or when the system is overloaded it syncs the entire tree.