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

added cache to rich list and token distribution endpoints #1286

Closed
wants to merge 0 commits into from

Conversation

shufps
Copy link

@shufps shufps commented Oct 6, 2023

Token Distribution and Rich List endpoints use heavy database scans. Without caching the heavy queries are running all the time and a lot of them in parallel because they also take some time to complete. This results in consuming the entire CPU constantly if in a network with many Outputs (like Testnet - or Stardust Mainnet that has the double amount).

Also fixes this issue:

#1225

Chronicles with this changes are running for a couple of weeks now on Testnet, Shimmer and now on Stardust Mainnet.

@shufps shufps closed this Oct 6, 2023
@shufps shufps force-pushed the feat/cache-for-explorer-endpoints branch from 907064e to 3600734 Compare October 6, 2023 05:32
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.

1 participant