-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Excessive calls to /meta on dataset landing pages #978
Comments
Yes, I concur with @amoeba about the UX. Landing pages for packages with ORE's that aggregate 100s of objects are very slow to render and often fail. Here's another example: |
I agree that this issue needs to be resolved. This was introduced when the prov charts were refactored to use the new |
…age was retrieved when the MetadataView was loaded. Closes #978
I just pushed a fix for this issue that makes loading of large datasets much faster. Particularly, the delay to show the prov charts should be reduced by orders of magnitude. Here's a screengrab showing the difference between my updated local MetacatUI and the unupdated MetacatUI on dev.nceas for a 300-member package: Summary of the solution
|
Awesome, thanks for doing this @laurenwalker ! |
When browsing https://arcticdata.io/catalog/view/urn:uuid:6b76bdb0-d080-43e7-bb24-12f0d5b34654, I notice my browser hangs a fair bit and I also notice about 1000+ calls to
/meta
for various Objects. The package has 999 members (The ORE in question isresource_map_urn:uuid:6b76bdb0-d080-43e7-bb24-12f0d5b34654
).It looks like the performance of this page is related in part to the excessive calls to /meta (there should be only one or two at the most) and possibly a large response from the View Service (~2.6MB of HTML which is a lot).
The text was updated successfully, but these errors were encountered: