-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracking Issue for Codec, Compressor, CompressionRegistry being Experimental. #1704
Comments
Specific usages:
|
Primary deficiency is that what we really want is to rely on negotiation of the allowed compressors to control what is permitted and then have a simple API to control high/med/low (for some definition of those concepts). We can't use negotiation for the first call to a service as negotiation may not have occurred so we will always need an API to allow client to assert a subset of supported compressions types for the first call. CallOptions.assumeInitialAllowedCompressors(....) |
Leaving experimental for 1.0 unless significant effort can be found to address the known issues and resolve this consistently across the other impls |
Stabilize the following by removing |
Hi @larry-safran @ejona86 |
The built-in compression has been in reasonably wide use since 1.0. I discourage implementing custom compression methods (so avoid the registries). |
We have got bad performance results when using gzip compression
We are using the code we have found in the internet as follows; Server Side
Client Side
or
Can you please advice? Thanks, |
Enabling compression will consume more memory and CPU. But it is a trade-off, because it reduces network costs and in some networks decreases latency. Use it when the trade-off is worth it to you. |
… meeting. addresses part of grpc#1704
They may exist, even independent of turning off compression for public release.
The text was updated successfully, but these errors were encountered: