Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Compress and flush #43

Merged
merged 5 commits into from
Jan 16, 2025
Merged

Compress and flush #43

merged 5 commits into from
Jan 16, 2025

Conversation

aliddell
Copy link
Member

Previous workflow was to use n threads to compress n buffers, then once this was done, use n threads again to write n buffers out to disk (or to S3). New workflow is to use compress and write each buffer sequentially in the same thread worker, so that, in principle, a single chunk can be compressed and written out before another chunk begins compressing. This should reduce thread synchronization overhead.

@aliddell aliddell requested a review from jeskesen January 15, 2025 21:35
Copy link
Contributor

@jeskesen jeskesen left a comment

Choose a reason for hiding this comment

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

Discussed over zoom

@aliddell aliddell merged commit 2c7ab7a into main Jan 16, 2025
7 checks passed
@aliddell aliddell deleted the compress-and-flush branch January 16, 2025 18:50
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants