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

Register gzip compressor #392

Merged
merged 1 commit into from
May 28, 2024
Merged

Register gzip compressor #392

merged 1 commit into from
May 28, 2024

Conversation

neekolas
Copy link
Collaborator

@neekolas neekolas commented May 28, 2024

tl;dr

I've been profiling some of the slower calls inside libxmtp, and I would like to test if enabling compression will help.

All that's required is to import this package and it will register itself inside an init method. Then the caller can specify gzip encoding and everything should work.

This doesn't actually turn on gzip for requests, it just allows for us to set it from the client so we can test if it is actually a performance improvement or not.

@neekolas neekolas requested review from richardhuaaa and insipx May 28, 2024 01:47
@neekolas neekolas merged commit e8c5c1b into main May 28, 2024
3 checks passed
@neekolas neekolas deleted the nm/grpc-compression branch May 28, 2024 17:49
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