kodadot / nft-gallery

Generative Art Marketplace
https://koda.art
MIT License
638 stars 361 forks source link

Optimize speed/cache of queries where we can have significant cuts on loading times #2913

Open yangwao opened 2 years ago

yangwao commented 2 years ago

We still have a few heavy load queries using Magick.

With SubSquid we can do more caching and speed up and cut loading times on users once they are making it the first time, i.e write resolver to Rubick for that add significant cache for bigger and more complicated data streams.

This issue is good for someone who is great writing graphql queries, understand data science behind and already made few resolvers to Rubick

Potential optimizations are at

Ref

vikiival commented 2 years ago

Moreover having resolver for https://github.com/kodadot/nft-gallery/issues/2195 would be lovely

KngZhi commented 2 years ago

@yangwao I could take the spotlight optimization, since it fetching all data at once, I would do some refactoring on frontend but not on subsquid. Is that okay to partially take it?

github-actions[bot] commented 4 weeks ago

This issue has been automatically marked as stale because it has not had activity in last 720 days. It will be closed in 120 days if no further activity occurs. Please @kodadot/internal feel free to leave a comment if you believe the issue is still relevant. Thank you for your contributions!