[RFC] Allow compressed requests

Robey Pointer robey at lag.net
Sun Dec 24 21:08:40 GMT 2006


On 6 Dec 2006, at 12:10, John Arbash Meinel wrote:

> I've been thinking about the bzr workflow using transports, and I
> realized that we use get() for plain text files (like knit indexes,
> branch format, etc). And we use readv() for the other files (.knit  
> data).
>
> So I was thinking that we could actually change our requests, such  
> that
> if we are doing a plain get() we make a request and allow compression.
> And if we do a readv() then we don't do compression.

I know on unix & mac, bazaar is using openssh for the ssh layer, and  
so gets compression by default, but on Windows using paramiko, you  
have to explicitly ask for compression to be turned on.  That might  
be a good cheap way to get more speed on Windows.

robey





More information about the bazaar mailing list