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

Readd compression #3753

Merged
merged 6 commits into from
Nov 30, 2022
Merged

Readd compression #3753

merged 6 commits into from
Nov 30, 2022

Conversation

thelsing
Copy link
Collaborator

@thelsing thelsing commented Nov 26, 2022

Identify the Bug or Feature request

connected to #3254

Description of the Change

With 1.12 connecting times became slower because hessian used to compress messages with gzip. Until now protobuf messages are not compressed. This leads to a noticeable increase of time to connect to a server with bigger campaigns.

This commit adds lzma compression to fix this.
I also added some more INFO logging on who sends messages to help to notice delays. HEARTBEAT messages are only logged as DEBUG now to avoid cluttering the log.
Last not least I noticed a harmless warning in the logs when Pens without colors were serialized. This small fix is also included.

Possible Drawbacks

  • Clients can't connect to servers if I did sth. wrong.

Release Notes

  • Add LZMA compression for communication between client and server

This change is Reviewable

Copy link
Contributor

@Phergus Phergus left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 13 of 13 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @thelsing)

@Phergus Phergus merged commit 4aba01d into RPTools:develop Nov 30, 2022
@cwisniew cwisniew added the feature Adding functionality that adds value label Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Adding functionality that adds value
Projects
Status: Merged
Development

Successfully merging this pull request may close these issues.

None yet

3 participants