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

Snapshot perf #222

Merged
merged 9 commits into from
Sep 14, 2023
Merged

Snapshot perf #222

merged 9 commits into from
Sep 14, 2023

Conversation

mappum
Copy link
Contributor

@mappum mappum commented Sep 14, 2023

This PR replaces the state snapshots used for historical queries to be backed by RocksDB snapshots (in–memory) rather than checkpoints (on-disk). This should fix performance issues seen on nodes in the wild, as the stacked checkpoints were causing huge amounts of unnecessary compaction work.

Checkpoints are still used for state sync snapshots, and still may have some amount of performance issues which could be improved, but their impact is much smaller since they have a 1000-block interval as opposed to every block.

@keppel keppel added this pull request to the merge queue Sep 14, 2023
Merged via the queue into develop with commit 6eae2ec Sep 14, 2023
5 checks passed
@keppel keppel deleted the snapshot-perf branch September 14, 2023 20:38
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.

2 participants