Itheum / data-dex

DApp with suite of web3 tools to trade personal data on MultiversX
https://datadex.itheum.io
GNU General Public License v3.0
466 stars 6 forks source link

Data NFT Marketplace: Difference observed in refreshing on STG vs pr 663 #720

Closed fuzzyduke closed 1 year ago

fuzzyduke commented 1 year ago

Description: Page was refreshed 3 times on 2 seperate URLS in parallel. It was observed that all 3 times pr 663 loaded quick, however stg was timing out. This is the final page of the Marketplace Data NFTs listing page.

https://deploy-preview-663--frosty-hermann-85ca4f.netlify.app/datanfts/marketplace/market/164

https://stg.datadex.itheum.io/datanfts/marketplace/market/164

image

Same test was carried out a few minutes later, STG was noticeably slower than pr 663.

The Wallet address was the same.

damienen commented 1 year ago

@icegriffinguru can you please check if there are some issues on milestone-1.1.0 that cause less stability?

icegriffinguru commented 1 year ago

@damienen It seems everything is same in both deploys except querying API. deploy-preview queries "https://devnet-api.multiversx.com/query" while stg queries "https://devnet-gateway.multiversx.com/vm-values/query". The latter fails more often than the former.

icegriffinguru commented 1 year ago

Query success depends on devnet state. Sometimes, denvet API is slow. Othertimes, devnet gateway is slow. Or even stuck with old data.

damienen commented 1 year ago

Good catch. CLosing.