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

[Performance] Bids and Domains take a very long (>5mins) time to load #100

Closed
sdtsui opened this issue Mar 9, 2020 · 3 comments · Fixed by #126
Closed

[Performance] Bids and Domains take a very long (>5mins) time to load #100

sdtsui opened this issue Mar 9, 2020 · 3 comments · Fixed by #126
Assignees
Labels
bug Something isn't working
Projects

Comments

@sdtsui
Copy link
Contributor

sdtsui commented Mar 9, 2020

This user owns a high number of tlds and is noting that it can take >5mins to go from this state:

Screen Shot 2020-03-09 at 2 28 08 PM

to this state:
Screen Shot 2020-03-09 at 2 29 51 PM

throughout all this, one can't look at their existing domains.
Screen Shot 2020-03-09 at 2 29 38 PM

Can we speed this up by caching some data locally, or do some sort of progressive loading where individual UI elements are still accessible? If the latter, a user can make changes even if bid status is not fully loaded for all names.

@mslipper
Copy link
Contributor

May be an issue with hsd.

@pinheadmz pinheadmz moved this from To do to In progress in v0.4.0 Apr 13, 2020
@pinheadmz
Copy link
Contributor

I'm looking into this now. It might be nice to have pagination functions in the hsd wallet. There is some work in this area in bcoin that was never reviewed: bcoin-org/bcoin#605

A work around for now might be to somehow abort API calls when the user clicks anything during a "loading" state. Might look into queuing up those calls for these views and allowing the queue processing to be cancelled.

@pinheadmz
Copy link
Contributor

...not to mention every single name in the bids table calls getNameInfo() twice: once in the BidStatus component and once again in the same table row on the BidTimeLeft component...

@pinheadmz pinheadmz moved this from In progress to Review in progress in v0.4.0 Apr 17, 2020
v0.4.0 automation moved this from Review in progress to Done Apr 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
v0.4.0
  
Done
3 participants