-
Notifications
You must be signed in to change notification settings - Fork 413
[CELEBORN-2221][CIP-14] Support writing with compression in C++ client #3575
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
Open
afterincomparableyum
wants to merge
3
commits into
apache:main
Choose a base branch
from
afterincomparableyum:cpp-client/celeborn-2221
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[CELEBORN-2221][CIP-14] Support writing with compression in C++ client #3575
afterincomparableyum
wants to merge
3
commits into
apache:main
from
afterincomparableyum:cpp-client/celeborn-2221
+183
−7
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Author
6abae43 to
17e891a
Compare
Integrate existing compression infrastructure (LZ4 and ZSTD) into the C++ client write path. This enables compression during pushData operations, matching the functionality available in the Java client. Changes: - Add compression support to ShuffleClientImpl: * Add shuffleCompressionEnabled_ flag and compressor_ member * Initialize compressor from CelebornConf in constructor * Compress data in pushData() when compression is enabled * Use compressed size for batchBytesSize tracking - Configuration integration: * Read compression codec from celeborn.client.shuffle.compression.codec * Read ZSTD compression level from celeborn.client.shuffle.compression.zstd.level * Default to NONE (compression disabled) - Retry/revive support: * Retry path correctly uses pre-compressed body buffer * No re-compression needed during retries - Testing: * Add CompressorFactoryTest for factory pattern and config integration * Add compression config tests to CelebornConfTest * Test offset compression support for both LZ4 and ZSTD
17e891a to
d9be058
Compare
Author
|
@HolyLow @SteNicholas @FMX @RexXiong Could you please help review this PR? Appreciate your help in improving this as needed! |
SteNicholas
reviewed
Jan 20, 2026
Member
|
@afterincomparableyum, please fix the failure of CI which is caused by format. |
Author
|
@SteNicholas I have fixed the clang format issues. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Integrate existing compression infrastructure (LZ4 and ZSTD) into the C++ client write path. This enables compression during pushData operations, matching the functionality available in the Java client.
Changes:
Add compression support to ShuffleClientImpl:
Configuration integration:
Retry/revive support:
Testing:
How was this patch tested?
Unit Tests, as well as compiling code