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 caching to rich list and token distribution endpo… #1287

Open
wants to merge 8 commits into
base: main
Choose a base branch
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 changed the title readded ( 😩 ) caching to rich list and token distribution endpo… added caching to rich list and token distribution endpo… Oct 6, 2023
@shufps shufps force-pushed the feat/cache-for-explorer-endpoints branch from d8fa9e9 to 53293d1 Compare November 14, 2023 16:16
@shufps shufps force-pushed the feat/cache-for-explorer-endpoints branch from d4a9307 to 3bb48f2 Compare July 8, 2024 10:29
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