-
Notifications
You must be signed in to change notification settings - Fork 459
Compress requests and responses for ingest v2 endpoints #5779
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
Conversation
d4111fb
to
37b08be
Compare
ba71c84
to
a49cbc1
Compare
a49cbc1
to
9a840f0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this feature is worth being documented. I can do it in a separate PR if you prefer. I would also add a small comment about the fact that it should be deployed with the compression disabled first in https://quickwit.io/docs/main-branch/operating/upgrades.
#[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] | ||
#[serde(rename_all = "lowercase")] | ||
pub enum CompressionAlgorithm { | ||
Gzip, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
out of curiosity, when would Gzip be a good choice?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably never. Maybe if the network is crazy slow and/or expensive.
Description
Compress requests and responses for ingest v2 endpoints using builtin tonic compression.
How was this PR tested?
Added unit test