asafm commented on PR #16888:
URL: https://github.com/apache/pulsar/pull/16888#issuecomment-1233894144

   > > > Can we enable conditional compression that only compresses payloads 
above a certain size?
   > > 
   > > 
   > > Yes, that is supported in GzipHandler.
   > > 
https://www.eclipse.org/jetty/javadoc/jetty-9/org/eclipse/jetty/server/handler/gzip/GzipHandler.html#setMinGzipSize(int)
   > 
   > That seems like a good indication to me that we should just enable it for 
all HTTP endpoints.
   
   One interesting question here is if we experience any issues currently with 
other HTTP endpoints. In Prometheus, the shear response size of 300 MB is worth 
compressing since the issue with a timeout. I wonder which other endpoints have 
similar issues?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to