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

Reduce memory footprint #91

Open
aimxhaisse opened this issue Nov 20, 2023 · 2 comments
Open

Reduce memory footprint #91

aimxhaisse opened this issue Nov 20, 2023 · 2 comments

Comments

@aimxhaisse
Copy link
Member

On Holesky, the watcher takes about 8GiB of ram to be able to watch the entire network, as the entire data set is a few hundreds MiB, there may be way to reduce the footprint by trying to explicitly delete a bunch of dicts/sets after use.

@nalepae
Copy link
Contributor

nalepae commented Nov 22, 2023

I guess this could help.
With the GET endpoint, it was more convenient to retrieve all validators instead of a (potentially very big) subset.
==> Big memory footprint, especially on Holesky.

With the POST endpoint, it will be simpler to retrieve a subset of validators.

@nalepae
Copy link
Contributor

nalepae commented Nov 22, 2023

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

2 participants