[Hackage] #428: cabal update uses too much bandwidth

Hackage trac at galois.com
Mon Jan 26 19:55:08 EST 2009


#428: cabal update uses too much bandwidth
---------------------------------+------------------------------------------
  Reporter:  claus               |        Owner:                   
      Type:  defect              |       Status:  new              
  Priority:  normal              |    Milestone:  cabal-install-0.8
 Component:  cabal-install tool  |      Version:  1.6.0.1          
  Severity:  normal              |   Resolution:                   
  Keywords:                      |   Difficulty:  hard (< 1 day)   
Ghcversion:  6.8.3               |     Platform:                   
---------------------------------+------------------------------------------
Comment (by duncan):

 One approach I was thinking of was providing the uncompressed tarball and
 mostly use it append only. So most clients could do a conditional request
 for the byte range from the point they have currently to the end of the
 file. If the cache ends up not matching then the client can just request
 the whole compressed tarball. That uses standard HTTP-1.1 without needing
 anything special on the server side which is important if we want to let
 people host dumb repos easily.

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/428#comment:4>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects


More information about the cabal-devel mailing list