[Hackage] #809: Improve update performance

Hackage cvs-ghc at haskell.org
Mon Mar 7 23:27:52 CET 2011


#809: Improve update performance
---------------------------------+------------------------------------------
  Reporter:  bos                 |        Owner:      
      Type:  enhancement         |       Status:  new 
  Priority:  normal              |    Milestone:      
 Component:  cabal-install tool  |      Version:  HEAD
  Severity:  normal              |     Keywords:      
Difficulty:  unknown             |   Ghcversion:      
  Platform:                      |  
---------------------------------+------------------------------------------
 I have an automated package build set up using Hudson, and it tries to
 build my code as often as once every 5 minutes.  Right now, that means
 running cabal update before every build, which takes at least 30 seconds.
 It would be great if cabal update used the ETag and If-Modified-Since HTTP
 headers to do conditional fetches of the metadata, so that there would be
 far less of a performance hit to both the Hackage server and my client.

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



More information about the cabal-devel mailing list