Domen Kožar
|
23bf99b8e2
|
Use pixz instead of bzip2 for compressing nars
According to following two benchmarks:
- https://www.rootusers.com/gzip-vs-bzip2-vs-xz-performance-comparison/
- http://catchchallenger.first-world.info/wiki/Quick_Benchmark:_Gzip_vs_Bzip2_vs_LZMA_vs_XZ_vs_LZ4_vs_LZO
xz has better compression ratio than bzip2 at lowest compression rate.
https://github.com/vasi/pixz has been chosen as it can scale compressing
over multiple cores linearly.
We're using this in snabblab for a month now and it has improved CPU
wise the main Hydra server.
|
2016-08-12 11:39:07 +02:00 |
|
Eelco Dolstra
|
c250407f3c
|
Set Expires headers for Hydra's binary cache
This allows caching by reverse proxies.
|
2014-11-06 14:31:48 +01:00 |
|
Eelco Dolstra
|
fe030331b5
|
Revert "Don't compress already-compressed files."
This reverts commit 190bffd846f044a13c239513f8ef1ea45ee8a1f2.
|
2013-07-01 18:46:18 +02:00 |
|
Eelco Dolstra
|
11414b0447
|
Revert "Doh"
This reverts commit f1f938512d4e3c478ea3c09db0536912657fb8ae.
|
2013-07-01 18:46:14 +02:00 |
|
Rob Vermaas
|
f1f938512d
|
Doh
|
2013-07-01 18:12:33 +02:00 |
|
Ludovic Courtès
|
190bffd846
|
Don't compress already-compressed files.
Fixes <https://github.com/NixOS/hydra/issues/102>.
|
2013-06-23 15:23:16 +02:00 |
|
Eelco Dolstra
|
67aefde62c
|
Remove trailing whitespace
|
2013-01-22 14:41:02 +01:00 |
|
Eelco Dolstra
|
8b752627a2
|
* Use IO::Handles instead of old school filehandles. This ensures
that the pipe gets closed, and the child process dies, if the HTTP
connection is prematurely interrupted.
|
2009-03-11 14:44:34 +00:00 |
|
Eelco Dolstra
|
97ed2052ba
|
* Move everything up one directory.
|
2009-03-05 13:41:57 +00:00 |
|