Skip to content

Conversation

@PetrHeinz
Copy link
Member

@PetrHeinz PetrHeinz commented May 16, 2025

Adds gzip compression to sync functions in node and edge package (also used in packages such as pino or winston).

This should significantly lower the egress network traffic in backend services.

Wanted to add compression to browser package as well, but it would require an additional dependency (e.g. https://github.com/nodeca/pako) and is not worth the additional complexity imo. Requests from browsers tend to be smaller and the extra upload size is not much of an issue.

Planning on releasing this as v0.5.5.

@PetrHeinz PetrHeinz requested a review from curusarn May 16, 2025 11:59
Copy link
Contributor

@curusarn curusarn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@PetrHeinz PetrHeinz changed the title T-5528 Add gzip compression to node and edge sync functions T-8088 Add gzip compression to node and edge sync functions May 19, 2025
@PetrHeinz PetrHeinz merged commit d301439 into master May 19, 2025
4 checks passed
@PetrHeinz PetrHeinz deleted the ph/gzip branch May 19, 2025 12:55
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.

3 participants