[CentOS] rsync optimization
eero.volotinen at iki.fi
Mon Jan 11 09:50:58 UTC 2010
Quoting xufengnju <xufengnju at sina.com>:
> We currently have upload servers in one data center(A), and users
> upload the images there. We have storage server in another data
> center(B). When users upload many images at the same time, we face
> sync difficulties.
> On B, we use rsync in server mode, with authentication.
> On A, we use `rsync -azpogtRv --safe-links 1/
> rsync://user@serverB/img/ --password-file=/var/www/r.passwd `
> Both ends run centos 5.3 X86_64.
> Any suggestions to optimize rsync in this case?
Well, at least remove v (verbose) and possibly also z (compression)
More information about the CentOS