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

Add gzip + none compression algos and let SDK pick compression #1802

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

Centril
Copy link
Contributor

@Centril Centril commented Oct 3, 2024

Description of Changes

Adds gzip and none compression choices, and expose it to the rust sdk via DbConnectionBuilder::with_compression.

Fixes #1463.
Closes #1642.

API and ABI breaking changes

None. If a compression is not chosen brotli is used.

Copy link
Contributor

@gefjon gefjon left a comment

Choose a reason for hiding this comment

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

Looks good! One doc-comment typo, one request to mark something unstable, one note about low-priority future work. Apply my suggestions, or argue that with_compression should be stable, and then go ahead and merge.

crates/client-api-messages/src/websocket.rs Show resolved Hide resolved
crates/sdk/src/db_connection.rs Show resolved Hide resolved
crates/client-api-messages/Cargo.toml Show resolved Hide resolved
@Centril Centril enabled auto-merge October 8, 2024 17:13
@Centril Centril added this pull request to the merge queue Oct 9, 2024
@Centril Centril removed this pull request from the merge queue due to a manual request Oct 9, 2024
@Centril Centril added this pull request to the merge queue Oct 9, 2024
Merged via the queue into master with commit 1e35fe6 Oct 9, 2024
8 checks passed
@Centril Centril deleted the centril/websocket-gzip branch October 9, 2024 17:28
Centril added a commit to clockworklabs/com.clockworklabs.spacetimedbsdk that referenced this pull request Oct 15, 2024
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.

Provide option for gzip
2 participants