diff options
author | Florian Klink <flokli@flokli.de> | 2024-11-24T07·42+0200 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2024-11-24T18·34+0000 |
commit | ae76eaa76133c089ad9b0779b4b3bd61a70c0d23 (patch) | |
tree | e9bff080a3b2ce275d4ebd623fab449edbf10b7c /tvix/store | |
parent | f6aee3534b87f114a884065da82e3b4f36f8802e (diff) |
feat(users/flokli/nixos-tvix-cache): re-enable http2 r/8962
With nar-bridge supporting zstd content-encoding, we don't need the nginx zstd module and can re-enable http2. We also need to propagate the Accept-Encoding sent by the client to nar-bridge, so it actually knows it can send zstd. This reduces the time measured in the microbenchmark from ~13s to this: ``` hyperfine 'rm -rf /tmp/cache; nix copy --from https://nixos.tvix.store/ --to "file:///tmp/cache?compression=none" /nix/store/jlkypcf54nrh4n6r0l62ryx93z752hb2-firefox-132.0' Benchmark 1: rm -rf /tmp/cache; nix copy --from https://nixos.tvix.store/ --to "file:///tmp/cache?compression=none" /nix/store/jlkypcf54nrh4n6r0l62ryx93z752hb2-firefox-132.0 Time (mean ± σ): 4.880 s ± 0.207 s [User: 4.661 s, System: 2.377 s] Range (min … max): 4.700 s … 5.274 s 10 runs ``` Change-Id: Id092307423636163ae95ef87ec8fa558b83ce0bb Reviewed-on: https://cl.tvl.fyi/c/depot/+/12835 Reviewed-by: Jörg Thalheim <joerg@thalheim.io> Autosubmit: flokli <flokli@flokli.de> Tested-by: BuildkiteCI Reviewed-by: Ilan Joselevich <personal@ilanjoselevich.com>
Diffstat (limited to 'tvix/store')
0 files changed, 0 insertions, 0 deletions