Closed

Description
Question Checklist
- Updated grpc-swift to the latest version
- I read the Contribution Guidelines
- I read README
- I searched for existing GitHub issues (especially, there are many resolved issues related to SSL)
Question Subject
The question is whether you plan to implement support for gzip compression for nio at an upcoming release 1.0.0 or nearest future?
Question Description
Currently, the nio implementation does not support gzip compression mechanism. For applications with intense usage of networking (such as messenger) the lack of support of this compression mechanism can result in high Network and CPU consumption, as well as higher battery draining on iOS devices. This prevents nio implementation from being ready for production usage for such applications.
Implementation notes
I have my guesses on where to look at first:
- Include gzip in list of supported mechanisms
- Switch over
compression
in LengthPrefixedMessageWriter'swrite
function and compress data properly according to algorithm - Switch over
compression
in LengthPrefixedMessageReader's and unzip data properly, than append unzipped chunk toByteBuffer
If you guys do not plan to do it in any nearest future, I would like to write implementation of gzip support myself, if you'll support me with a little guidance.