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

feat: persist snapshots in parallel #25901

Merged
merged 1 commit into from
Jan 27, 2025
Merged

Conversation

mgattozzi
Copy link
Contributor

This speeds up snapshot persistence by taking all of the persist jobs and running them simultaneously on a JoinSet. With this we can speed things up a bit by not waiting for each file to persist before the next one can be persisted. Instead we now can run all the persisting at the same time using the tokio runtime.

Closes #24658

This speeds up snapshot persistence by taking all of the persist jobs
and running them simultaneously on a JoinSet. With this we can speed
things up a bit by not waiting for each file to persist before the next
one can be persisted. Instead we now can run all the persisting at the
same time using the tokio runtime.

Closes #24658
@mgattozzi mgattozzi force-pushed the mgattozzi/parallel-persist-job branch from 3cd8914 to 2601ac6 Compare January 27, 2025 16:26
@mgattozzi
Copy link
Contributor Author

Had to fix the conflicts but this should be good to merge again once it passes ci

@mgattozzi mgattozzi merged commit b9a8adb into main Jan 27, 2025
13 checks passed
@mgattozzi mgattozzi deleted the mgattozzi/parallel-persist-job branch January 27, 2025 16:44
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.

Persist should run in parallel
2 participants