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

Plan objects are large - look into making loading efficient #5249

Closed
2 of 6 tasks
shefalijoshi opened this issue May 24, 2022 · 2 comments
Closed
2 of 6 tasks

Plan objects are large - look into making loading efficient #5249

shefalijoshi opened this issue May 24, 2022 · 2 comments
Labels
performance impacts or improves performance severity:critical type:bug

Comments

@shefalijoshi
Copy link
Contributor

shefalijoshi commented May 24, 2022

Summary

Plan objects are now large (6Megs each). We should look into optimizing requests to get only the data we need at a given time
For example:
Only request name/'state' metadata until the object is actually viewed.
Only request the parts of the object that Open MCT needs when the object is viewed.

Expected vs Current Behavior

Plan objects are large and are causing Open MCT loading to be slow.

Steps to Reproduce

  1. Load open MCT with multiple plans in the couch db database.

Environment

  • Open MCT Version: 2.0.3
  • Deployment Type: banner - all
  • OS: Mac
  • Browser: All

Impact Check List

  • Data loss or misrepresented data?
  • Regression? Did this used to work or has it always been broken?
  • Is there a workaround available?
  • Does this impact a critical component?
  • Is this just a visual bug with no functional impact?
  • Does this block the execution of e2e tests?

Additional Information

@shefalijoshi
Copy link
Contributor Author

While the Plan objects in CouchDB are large, the part of the plans that are pulled into Open MCT are only 165KB ish.

@akhenry
Copy link
Contributor

akhenry commented Jun 22, 2022

Fair enough, close for now. I have confirmed in our test environment that the plan objects are small, our biggest downloads right now are Open MCT itself, and the telemetry dictionary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance impacts or improves performance severity:critical type:bug
Projects
None yet
Development

No branches or pull requests

3 participants