[Hackage] #288: the package indexes are very slow

Hackage cvs-ghc at haskell.org
Wed Jul 14 17:48:01 EDT 2010


#288: the package indexes are very slow
---------------------------------+------------------------------------------
  Reporter:  duncan              |        Owner:       
      Type:  defect              |       Status:  new  
  Priority:  normal              |    Milestone:       
 Component:  cabal-install tool  |      Version:  HEAD 
  Severity:  normal              |     Keywords:       
Difficulty:  easy (<4 hours)     |   Ghcversion:  6.8.2
  Platform:                      |  
---------------------------------+------------------------------------------

Comment(by duncan):

 Replying to [comment:5 AntoineLatter]:
 > Experience report:
 >
 > Taking the tar-index from hackage-server wasn't too hard. It doesn't
 scale to hackage-sized tarballs, though - it is only able to store the
 offsets for about half of the .cabal files in 00-index.tar.

 It should be straightforward to extend the size of the types used to cope
 with bigger tarballs. The only cost will be a bigger index. The reason for
 the limitations in the hackage code is simply to save space by keeping the
 indexes very compact.

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



More information about the cabal-devel mailing list