Skip to content
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

Is there a way to enable gzip compression for XDS? #38482

Open
berkeli opened this issue Feb 18, 2025 · 1 comment
Open

Is there a way to enable gzip compression for XDS? #38482

berkeli opened this issue Feb 18, 2025 · 1 comment
Labels
area/compression area/grpc area/xds question Questions that are neither investigations, bugs, nor enhancements

Comments

@berkeli
Copy link

berkeli commented Feb 18, 2025

Title: Is it possible to enable gzip compression for xDS responses

Description:
Hello, we would like to know if it's possible to use gzip compression for xDS (specifically ADS streams). Our xDS server supports gzip and we've tried adding initial metadata (grpc-accept-encoding: gzip) but that didn't do the trick.

dynamic_resources:
  ads_config:
    api_type: GRPC
    grpc_services:
      envoy_grpc:
        cluster_name: xds-cluster
      initial_metadata:
        key: grpc-accept-encoding
        value: gzip

I understand that the large response sizes could be overcome with delta xDS, but we do not have that currently implemented.

@berkeli berkeli added the triage Issue requires triage label Feb 18, 2025
@adisuissa adisuissa added question Questions that are neither investigations, bugs, nor enhancements area/xds area/grpc area/compression and removed triage Issue requires triage labels Feb 18, 2025
@adisuissa
Copy link
Contributor

I think this is not xDS-specific, but more Envoy-gRPC feature.
I don't think there's compression support in EnvoyGrpc (according to #6292).
I wonder if you'll be able to use GoogleGrpc, and set the compression using the channel-args (https://grpc.io/docs/guides/compression/)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/compression area/grpc area/xds question Questions that are neither investigations, bugs, nor enhancements
Projects
None yet
Development

No branches or pull requests

2 participants