Zsync for Packages files

Matt Zimmerman mdz at ubuntu.com
Thu Jul 23 18:27:32 BST 2009


On Tue, Jul 21, 2009 at 09:52:33AM +0300, Lars Wirzenius wrote:
> ma, 2009-07-20 kello 22:46 +0200, Tollef Fog Heen kirjoitti:
> > ]] Max Bowsher 
> > 
> > | That's interesting - I would have thought that it would simply lead to
> > | many small pdiff files being created, but the system overall still
> > | working fine. How is the usability damaged?
> > 
> > You'll need to get quite a lot of small files, which means you get hit
> > by TCP's slow start algorithm again and again rather than just grabbing
> > one big file once.
> 
> Surely apt uses a single TCP connection to fetch all the pdiff files?
> That is, HTTP pipelining, or whatever it is called, to do several HTTP
> requests over a singel TCP connection.

It does, yes.  TCP slow start shouldn't be an issue in itself, though there
is still overhead involved in fetching multiple files, both at the protocol
level and for the server.

-- 
 - mdz



More information about the ubuntu-devel mailing list