[RFC] Allow compressed requests
John Arbash Meinel
john at arbash-meinel.com
Wed Dec 6 18:32:14 GMT 2006
Aaron Bentley wrote:
> John Arbash Meinel wrote:
>>> Aaron Bentley wrote:
>>>> Are we certain that HTTP range requests don't work with compression?
>>> Actually, it is more that the data we are reading is already compressed.
>>> So there isn't any benefit to asking it to be requested again. Not that
>>> we couldn't place the request.
> Ah, so that's a bit of a layering issue then; the properties of knit
> repositories affecting our transport implementation. You're right, it
> probably make sense to avoid the overhead in that case. Maybe that
> justifies hinting -- we know compression won't help, so we don't want to
> spend the extra cycles decompressing it.
Right. And at the moment, when we do a plain "get()" all of those files
aren't compressed. And when we do "readv()", all of those *are* compressed.
It certainly is a layering issue, but one that was fairly straightforward.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20061206/0f634e14/attachment.pgp
More information about the bazaar