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: streamig compression #53

Open
geolffreym opened this issue Dec 28, 2022 · 0 comments
Open

feat: streamig compression #53

geolffreym opened this issue Dec 28, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@geolffreym
Copy link
Owner

geolffreym commented Dec 28, 2022

We can improve bandwidth consumption using Gzip or Broli compression for streaming.

"Applying compression at a stream level can lead to significant performance improvements and a more efficient use of bandwidth compared to other compression strategies in P2P networking protocols. In some cases, and depending on factors such as the compression algorithm and the file format, the bandwidth savings can reach up to 50%! And this is how our compression RFC landed in libp2p."

Its possible activate this feature using a configuration flag.

ref: https://research.protocol.ai/blog/2020/honey-i-shrunk-our-libp2p-streams/

@geolffreym geolffreym self-assigned this Dec 28, 2022
@geolffreym geolffreym added the enhancement New feature or request label Dec 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants