Librsync is a library that implements a remote-delta algorithm, which efficiently creates diffs of files separated by a network connection. This allows for greatly reduced network IO to send an updated version of a file that is mostly the same as the previous version.