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

feat!: use gzip compression for grpc #526

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

BatmanAoD
Copy link
Contributor

Note: conserv does not support this yet, so ultimately we'll need to cache a flag somewhere indicating if compression is supported, and set it to false if we get a "compression not supported" response. See https://grpc.github.io/grpc/core/md_doc_compression.html

Copy link

PR Preview Action v1.6.0

🚀 View preview at
https://rigetti.github.io/qcs-sdk-rust/pr-preview/pr-526/

Built to branch qcs-sdk-python-docs at 2025-01-11 01:21 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@Shadow53
Copy link
Contributor

Shadow53 commented Jan 13, 2025

Would it be possible to use content negotiation to determine whether compression is supported? (See also MDN: Compression)

Edit: This is mostly a question of whether tonic supports this to any degree

@BatmanAoD
Copy link
Contributor Author

As far as I can tell, the grpc compression spec I linked above essentially describes a form of content negotiation, using the grpc-accept-encoding header.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants