utxostack / btc-assets-api

Bitcoin/RGB++ Assets API
https://api.rgbpp.io/docs
Apache License 2.0
2 stars 1 forks source link

Cache Refactor Tracking Issue #209

Open Flouse opened 1 month ago

Flouse commented 1 month ago

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

Flouse commented 1 month ago
  • 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'
Dawn-githup commented 1 month ago

image

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