Skip to content

[#2536] feat(spark): Controllable concurrency for overlapping compression #2541

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

Merged
merged 2 commits into from
Jul 10, 2025

Conversation

zuston
Copy link
Member

@zuston zuston commented Jul 8, 2025

What changes were proposed in this pull request?

Introduce extra the option to control the concurrency of overlapping compression.

Why are the changes needed?

for #2536 .

Decoupling compression concurrency from the transfer pool is essential for resource isolation and performance stability, especially under multi-tenant or CPU-constrained environments.

Does this PR introduce any user-facing change?

Yes.

rss.client.write.overlappingCompressionThreads=-1.

About overlapping compression related config options, I will add it into doc in another PR

How was this patch tested?

Unit tests.

@zuston zuston requested a review from jerqi July 8, 2025 07:48
Copy link

github-actions bot commented Jul 8, 2025

Test Results

 3 082 files  +10   3 082 suites  +10   6h 48m 27s ⏱️ -13s
 1 191 tests + 1   1 190 ✅ + 1   1 💤 ±0  0 ❌ ±0 
15 100 runs  +10  15 085 ✅ +10  15 💤 ±0  0 ❌ ±0 

Results for commit aa01390. ± Comparison against base commit 77e6ab1.

♻️ This comment has been updated with latest results.

@zuston zuston linked an issue Jul 8, 2025 that may be closed by this pull request
3 tasks
@zuston
Copy link
Member Author

zuston commented Jul 9, 2025

cc @jerqi

Copy link
Contributor

@jerqi jerqi left a comment

Choose a reason for hiding this comment

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

LGTM.

@zuston zuston merged commit f1323ab into apache:master Jul 10, 2025
41 checks passed
@zuston zuston deleted the compressionConcurrency branch July 10, 2025 03:05
@zuston
Copy link
Member Author

zuston commented Jul 10, 2025

Merged.

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.

[FEATURE] Limited concurrency for overlapping compression
2 participants