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

Mainnet JSON pool files of 378.89M causing crazy long loading time #85

Open
wh173-c47 opened this issue May 13, 2024 · 2 comments
Open

Comments

@wh173-c47
Copy link

Hi, just wondering why isn't there any pagination (I mean the least here) when working with the SDK / API to fetch liquidity info ? (either no mapping / simple get per mint or so).
Especially this route: https://api.raydium.io/v2/sdk/liquidity/mainnet.json
Which loads in an average of several minutes, of course 378.89MB fetched at once is pretty brutal and far from being efficient in my opinion...

Any reasons behind this design ? Any improvments scheduled so far ? I have to say I quit your UI a while ago as it is constantly lagging, loading an incredible amount of data and consuming my RAM faster than most heavy websites I saw in my life.

Thing is it's a bit annoying to end up storing the file locally hoping for no changes, or fetching it all at each runs.

Would be glad to help if needed by the way.

Best regards

@craftfortress
Copy link

Yes what is happening here

@heymike777
Copy link

Yes, any updates about fetching this data are appreciated. Would be cool to fetch file for the specified token.

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

3 participants