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

Add slot based mechanism to execute pruners and feature alike #8435

Open
gfukushima opened this issue Jul 10, 2024 · 0 comments
Open

Add slot based mechanism to execute pruners and feature alike #8435

gfukushima opened this issue Jul 10, 2024 · 0 comments

Comments

@gfukushima
Copy link
Contributor

Currently teku has 3 different pruners (Block, blob and state) all relying on timers that trigger their execution at a frequency defined by the used. To avoid running those non-critical task during critical periods (like epoch transition) we could either:

  1. Implement a validation to avoid pruning during these periods. This will likely end up being called / used in 3 different places.
  2. Implement a mechanism that is slot based and only prune when we're in a "safer window" and will likely not affect the other critical tasks.

Other suggestion are accepted. @tbenr dumped some ideas here and here

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

No branches or pull requests

1 participant