Amos Shapira wrote:
> On 01/04/07, Lior Kaplan <[EMAIL PROTECTED]> wrote:
>> They prefer every to use the same script as it might simplify things for
>> everyone, like making sure mirror use the same option and don't create
>> non exact mirrors. Such an example might be a mirror with different time
>> stamp on the files.
>
> That sounds like a reasonable explanation.
>
>>
>> wget and ftp tools will just cause more traffic for both servers, as
>> they usually can only append to files which were changed, things usually
>> requires re-downloading the whole file. So they recommend rsync.
>
> But these files (linux distribution) are not expected to change once
> published - if there is a new version then it's a new file anyway, so
> the rsync algorithm wouldn't kick in to transfer just the parts that
> changed.
Depends which distro, some have files which change instead of
introducing new files. And don't forget all those index files (e.g.
apt's lists) which change on a daily basis.
>> I can say I use rsync for all the mirrors on mirror.{hamakor, isoc,
>> iglu}.org.il.
>
> That by itself doesn't prove rsync's advantage. Can you provide some
> traffic numbers showing that it benefits
> speed/bytes-transferred/cpu-utilization or somesuch?
I'll try to find some data out of my logs.
> Right now I expect rsync is practically used as a smart mirror (in the
> sense of copying files and keeping their timestamps) since the file
> diff algorithm wouldn't come into play.
As rsync support exclude lists, it's much easier to use it to build a
mirror, than just copy everything.
And don't forget it ensures you have an exact copy, something which wget
and others don't verify after the download.
--
Lior Kaplan
[EMAIL PROTECTED]
http://www.Guides.co.il
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]