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

Batch history reindex writes #6069

Open
martintomazic opened this issue Feb 18, 2025 · 0 comments · May be fixed by #6050
Open

Batch history reindex writes #6069

martintomazic opened this issue Feb 18, 2025 · 0 comments · May be fixed by #6050
Assignees

Comments

@martintomazic
Copy link
Contributor

During history reindex, write runtime blocks and corresponding round results in batches.

This way we reduce transaction overhead of badgerDB. Experimental data showed 2-3x speed-up from master benchmarks.

Finally, with writing bottleneck out of the way, this allows us to focus on optimizing the reading part (next bottleneck) and doing reindex for all runtimes at the same time.

@martintomazic martintomazic linked a pull request Feb 18, 2025 that will close this issue
@martintomazic martintomazic self-assigned this Feb 18, 2025
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 a pull request may close this issue.

1 participant