Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

API waiting time is long. #688

Closed
FrederLu opened this issue Jun 6, 2024 · 5 comments
Closed

API waiting time is long. #688

FrederLu opened this issue Jun 6, 2024 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@FrederLu
Copy link

FrederLu commented Jun 6, 2024

https://pudge.explorer.nervos.org/address/tb1qd5q7hs0q0px6qj55j2nkkhjgm2zep7765zjyhs?page=3
image

The api waits for a long time and the page cannot display data.

@rabbitz
Copy link

rabbitz commented Aug 28, 2024

@rabbitz rabbitz moved this from 📌CurrentWeek to 👀 Testing in CKB Explorer Aug 29, 2024
@FrederLu
Copy link
Author

The api query has been optimized.
However, if the address query contains a lot of data, it will still be slow. For example there are 600+ data under the tb1qssu8pscsuevnmvhnr08840wvuzdan27k9m46ja address, the loading time will still be relatively long.

@poor-defined
Copy link
Contributor

The api query has been optimized. However, if the address query contains a lot of data, it will still be slow. For example there are 600+ data under the tb1qssu8pscsuevnmvhnr08840wvuzdan27k9m46ja address, the loading time will still be relatively long.

Got it, mark it as Hold on

@poor-defined poor-defined moved this from 👀 Testing to 📫Hold On in CKB Explorer Sep 12, 2024
@rabbitz
Copy link

rabbitz commented Sep 13, 2024

https://docs.aws.amazon.com/zh_cn/AmazonRDS/latest/UserGuide/wait-event.iobuffile.html

Increasing the work_mem parameter from 4MB to 200MB

@FrederLu
Copy link
Author

https://docs.aws.amazon.com/zh_cn/AmazonRDS/latest/UserGuide/wait-event.iobuffile.html

Increasing the work_mem parameter from 4MB to 200MB

https://pudge.explorer.nervos.org/address/tb1qssu8pscsuevnmvhnr08840wvuzdan27k9m46ja

Before:
image

Now:
image

The same data has been significantly improved in API response after adjustment compared with the previous one. Verification passed.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
Status: ✅ Done
Development

No branches or pull requests

3 participants