[RFC] kbfiles: an extension to track binary files with less wasted bandwidth

Laurens Holst laurens.nospam at grauw.nl
Mon Aug 8 05:09:28 CDT 2011


Op 06-08-11 20:17, Andrew Pritchard schreef:
> Largefiles does currently open large numbers of connections to download needed
> files, which I have recently discovered to be particularly annoying when IIS
> decides it needs a full second to decide which HTTP handler to call for a
> request.  This could be alleviated with not too much difficulty by two changes:
> first, make 'statlfile' batchable; and second, turn 'getlfile' into
> 'getlfiles', sending multiple files in one connection, either in an ad-hoc
> line-based protocol like the Mercurial's ssh transport, or in a tar archive.
> The same could be done for 'putlfile'.

Why not just open a couple of HTTP connections simultaneously? That 
would alleviate the problem and keep the interface simple.

~Laurens



More information about the Mercurial-devel mailing list