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

Cache Refactor Tracking Issue #209

Open
1 of 2 tasks
Flouse opened this issue Aug 22, 2024 · 2 comments
Open
1 of 2 tasks

Cache Refactor Tracking Issue #209

Flouse opened this issue Aug 22, 2024 · 2 comments
Labels
enhancement New feature or request P-Medium

Comments

@Flouse
Copy link
Contributor

Flouse commented Aug 22, 2024

This issue tracks the progress of refactoring the caching mechanism within the btc-assets-api. The goal is to improve performance by caching data。

  • rgbpp/v1/address/tb1q4vsuv95gdum3cdrswujv9qzqf72ehqxh7vhhak/activity
    image

    curl 'https://btc-assets-api-git-fix-182-duplicated-bindings-cell-studio.vercel.app/rgbpp/v1/address/tb1q4vsuv95gdum3cdrswujv9qzqf72ehqxh7vhhak/activity?rgbpp_only=false'
    

    It is recommended to cache the data. It takes a long time to check the data now.

  • Feel free to add new slow queries here @Dawn-githup

@Flouse Flouse added enhancement New feature or request P-Low P-Medium and removed P-Low labels Aug 22, 2024
@Flouse
Copy link
Contributor Author

Flouse commented Aug 22, 2024

  • rgbpp/v1/address/tb1q4vsuv95gdum3cdrswujv9qzqf72ehqxh7vhhak/activity
curl --location --request GET 'https://api.testnet.rgbpp.io/rgbpp/v1/address/tb1q4vsuv95gdum3cdrswujv9qzqf72ehqxh7vhhak/activity' \
--header 'Authorization: ...' \
--header 'Origin: https://api.testnet.rgbpp.io' \
-w '\n* Response time: %{time_total}s\n'
  • Response time: 2.835890s

@Dawn-githup
Copy link
Collaborator

Dawn-githup commented Aug 22, 2024

image

I am validating on the testnet at "https://api.testnet.rgbpp.io/" with an average response time of about 2 s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P-Medium
Projects
None yet
Development

No branches or pull requests

2 participants