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: move housekeeper to cronjob or make redundant deployment possible #204

Open
metachris opened this issue Oct 19, 2022 · 0 comments
Open

Comments

@metachris
Copy link
Collaborator

Ideally the housekeeper could run as cronjob.

Currently the housekeeper runs as single instance, and syncs a lot of state from database to Redis. It also keeps some state around to not perform the expensive operations multiple times if not necessary.

The expensive operations are mostly

  1. writing all validators from the beacon node to redis
  2. writing all validator registrations from the database to redis

These are currently a redis command per entry, but could possibly be made batch requests.

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