Re: php.nederland.net / aka mirroring php
| From: | Gabor Hojtsy | Date: | Wed, 13 Feb 2002 08:50:26 +0000 |
| Subject: | Re: php.nederland.net / aka mirroring php | ||
| References: | 1 2 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-8704@lists.php.net to get a copy of this message | ||
> > What do you think of this idea??
>
> i don't think it would solve the fundamental problem.
>
> the problem is that using rsync to transfer the current phpweb
> repository is extremely ineffecient. it requires transferring 1.6MB of
> data just to find out if any actual file data has to be transferred. it
> takes a considerable amount of time for rsync to just generate this list
> (and transfer it, depending on how good of a connection the receiver
> has).
>
> while it is related to the amount of data being sent, it isn't really a
> bandwidth issue or even a machine-load issue. we're just using rsync in
> a brutally ineffecient way.
OK, but if we bz2 all the manuals, if only one or two page
changes, all the bz2 needs to be downloaded. :(( I don't
know how rsync handles new files (by content or by date, or
some more sophisticated way), but if it handles the files
by only dates, then using this bz2 method would be a
significant increase. If rsync also takes in consideration
the content of files (eg producing a diff), then updating if
small changes are made wil be the pain, instead of updating
if no changes are made... "Small changes" occur more ofthen
than "no changes" AFAIK.
Goba