Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants