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

Use the same RRD encoding for the SDK comms as for everything else #2065

Merged
merged 2 commits into from
May 9, 2023

Conversation

emilk
Copy link
Member

@emilk emilk commented May 9, 2023

This comes with two benefits:

  • We get nice error messages on version mismatch
  • We get compression of the TCP stream

There is also a downside: we need to pay for the slow zstd encoding and decoding.

Closes #2003

Checklist

PR Build Summary: https://build.rerun.io/pr/2065

This comes with two benefits:
* We get nice error messages on version mismatch
* We get compression of the TCP stream

There is also a downside: we need to pay for the slow zstd encoding
and decoding.

Closes #2003
@emilk emilk added the 🚀 performance Optimization, memory use, etc label May 9, 2023
@emilk emilk marked this pull request as ready for review May 9, 2023 13:12
crates/re_sdk_comms/src/buffered_client.rs Outdated Show resolved Hide resolved
crates/re_sdk_comms/src/buffered_client.rs Outdated Show resolved Hide resolved
@emilk emilk merged commit 0a1429e into main May 9, 2023
@emilk emilk deleted the emilk/compress-sdk-comunications branch May 9, 2023 18:01
jprochazk pushed a commit that referenced this pull request May 11, 2023
…2065)

* Use the same RRD encoding for the SDK comms as for everything else

This comes with two benefits:
* We get nice error messages on version mismatch
* We get compression of the TCP stream

There is also a downside: we need to pay for the slow zstd encoding
and decoding.

Closes #2003

* Use let-else to reduce rightward drift
emilk added a commit that referenced this pull request May 25, 2023
…mms (#2219)

### What
Closes #2216

The compression for SDK comms was added in
#2065 and now removed in this PR.

### Checklist
* [x] I have read and agree to [Contributor
Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and
the [Code of
Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md)

<!-- This line will get updated when the PR build summary job finishes.
-->
PR Build Summary: https://build.rerun.io/pr/2219
emilk added a commit that referenced this pull request May 25, 2023
…mms (#2219)

Closes #2216

The compression for SDK comms was added in
#2065 and now removed in this PR.

* [x] I have read and agree to [Contributor
Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and
the [Code of
Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md)

<!-- This line will get updated when the PR build summary job finishes.
-->
PR Build Summary: https://build.rerun.io/pr/2219
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🚀 performance Optimization, memory use, etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SDK and Viewer fail cryptically when running mismatched versions
2 participants