Unfortunately, compression settings are not yet fully supported in Python 
gRPC. <https://github.com/grpc/grpc/issues/15741> However, I have work 
queued up for this quarter to address this gap. You can track progress on 
this through the linked github issue.


On Thursday, February 7, 2019 at 12:14:42 AM UTC-8, [email protected] 
wrote:
>
> Has anyone does this? I cannot find any documentation or code 
> demonstrating this. For my Python gRPC client, I use the following:
>
> channel = grpc.insecure_channel('localhost:50051', 
> options=[('grpc.default_compression_algorithm', 1), 
> ('grpc.default_compression_level', CompressionLevel.high)])
>
>
> How do I do the same for my Python gRPC server? Any help would be greatly 
> appreciated. Thanks.
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/7a396ae3-aebc-487e-b85e-e908f94070b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to