Best method to pull *fast*?

John Arbash Meinel john at arbash-meinel.com
Thu Jan 21 15:02:52 GMT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Torsten Bronger wrote:
> Hallöchen!
> 
> Ali Sabil writes:
> 
>> [...]
>>
>> In order to get good performance with launchpad you actually need
>> to register an account and then use "bzr lp-login [username]"
>> before using "bzr pull lp:emacs" to use the bzr+ssh transport
>> instead of the dumb http transport.
> 
> I tested that and http (ie, without smart server according to this
> thread) transmits even twice as much data.
> 
> Tschö,
> Torsten.
> 

Hypothetically it can be even worse than that. But it really depends on
the specifics. The --2a format also probably shows a stronger
difference. It compresses overall a lot better, but it does so using
blocks. Which a smart server can split apart for you at request time,
but a dumb transport has to read the whole block, even if you only want
part of it.

We felt it was a reasonable tradeoff, and expected that most places that
wanted to work with a large project wouldn't have a problem using the
smart server. Only to have Savannah then decide to only support sftp and
http... (There is still the possibility to get them to change their mind.)

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAktYbJwACgkQJdeBCYSNAANDlACcDUqmOASLUt9EFq/d24VsZezt
WIAAoLy45tctFoK7Ld/56L0d8SyMiIpi
=Ppoj
-----END PGP SIGNATURE-----



More information about the bazaar mailing list