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

parca: add --storage-snapshot-trigger-size #3432

Merged
merged 1 commit into from
Jul 12, 2023
Merged

Conversation

asubiotto
Copy link
Contributor

Parca would previously not snapshot frostdb data. This commit enables snapshotting by default each 1/4 of maximum active memroy and exposes a flag to tune this snapshot trigger size further. This allows recovery to be much faster than replaying all writes from the WAL.

Users that would previously see the parca server take a long time to start or have the impression that the server was hung indefinitely during startup will benefit from this commit.

Fixes #3430

Copy link
Contributor

@javierhonduco javierhonduco left a comment

Choose a reason for hiding this comment

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

Good stuff!

@asubiotto
Copy link
Contributor Author

Looks like golangci-lint is timing out on all PRs to this repo.

Parca would previously not snapshot frostdb data. This commit enables
snapshotting by default each 1/4 of maximum active memroy and exposes a flag
to tune this snapshot trigger size further. This allows recovery to be much
faster than replaying all writes from the WAL.

Users that would previously see the parca server take a long time to start
or have the impression that the server was hung indefinitely during startup
will benefit from this commit.
@asubiotto asubiotto enabled auto-merge July 12, 2023 07:27
@asubiotto asubiotto merged commit 7b1545f into main Jul 12, 2023
34 checks passed
@asubiotto asubiotto deleted the alfonso-snapshot branch July 12, 2023 07:55
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.

Failed to load latest snapshot
2 participants