TraceMachina / nativelink

NativeLink is an open source high-performance build cache and remote execution server, compatible with Bazel, Buck2, Reclient, and other RBE-compatible build systems. It offers drastically faster builds, reduced test flakiness, and specialized hardware.
https://nativelink.com
Apache License 2.0
1.19k stars 110 forks source link

Make gzip stream compression optional to give possible performance optimization #109

Closed allada closed 1 year ago

allada commented 1 year ago

After doing some profiling, it appears that the gzip decompression/compression of the GRPC stream is by far the slowest part of the program. This should be optional config for users that don't care much about network speed (like localhost/LAN).

allada commented 1 year ago

When this PR makes it in, we should give it as an option for users that want the best of both worlds: https://github.com/hyperium/tonic/pull/1371