issues
search
multiversx
/
mx-api-service
Unified REST API facade for providing data related to the MultiversX blockchain
https://api.multiversx.com
GNU General Public License v3.0
30
stars
49
forks
source link
Improved caching for validator auctions
#1269
Closed
tanghel
closed
4 months ago
tanghel
commented
4 months ago
Proposed Changes
Return from the cache if the remotely fetched validator auctions are less than 80% of what's in the cache
The proxified endpoint
/validator/auction
returns primarily from the cache in order to alleviate access to the gateway
How to test
if the gateway returns less than 80% of the auctions that are in the cache, still return them from the cache
make sure that the proxified endpoint validator auction always returns from the cache and does not perform requests to the gateway
Proposed Changes
/validator/auction
returns primarily from the cache in order to alleviate access to the gatewayHow to test