mietek / haskell-on-heroku

Buildpack for deploying Haskell apps
BSD 3-Clause "New" or "Revised" License
131 stars 16 forks source link

Improve compression format support #20

Closed mietek closed 10 years ago

mietek commented 10 years ago

Currently, we use .tar.xz for GHC, Cabal, and sandbox archives, and .tar.gz for application archives.

Instead, we could initially use .tar.gz for all archives, and subsequently recompress everything as .tar.xz (with massive XZ_OPTS), using an independent agent running as an external service.

This requires extending storage functions to look for the requested archives in more than one format.

mietek commented 10 years ago

.tar.gz is now used across the board, with pigz for close-to-optimal archive creation and extraction speed.

create_archive extract_archive