
A Closer Look at Rsync
It’s not often that academia analyzes the unix tools we use everyday.
But rsync
is one fortunate exception as Andrew
Tridgell not only wrote rsync
while pursuing his PhD, but also published a short and accessible
paper
outlining its inner workings. While I’d highly encourage reading the entire paper, I took away
one major tl:dr; from the rsync
algorithm: be lazy.
This lesson will be applicable anytime I write performance conscious code.