capistrano_rsync_with_remote_cache
capistrano_rsync_with_remote_cache copied to clipboard
rsync --linkdest to speed up deployment and reduce disk usage
We've been using this patch to rsync_with_remote_cache for a couple years. It speeds up deployment and reduces disk usage by hardlinking files in each release to the previous release.
Because we hardlink to files in from the previous deployment, a separate folder containing a remote cache is no longer needed. The only files that are transfered are the ones that differ between the current release and the new one.