-
Notifications
You must be signed in to change notification settings - Fork 45
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
Hypervisor latency #446
Comments
#436 solves a small part of the issue, as it adds a cache to avoid having to retrieve the data after navigating if certain conditions are meet, but it is still slow to get the data just after opening the details of a visor. The main problem is that the manager has to send multiple requests for getting all the data that is shown in the UI. A lot delay can be prevented if all the data is obtained in one request instead of many. At this moment, for showing data in the visor details page, the manager makes these requests:
If all that data is returned in just one call, the performance will be better. As a related note, there is something else important about the I'm not sure what of the 2 last options would you prefer. For parsing the rule in the front end, I checked and it should be possible to create a parser in TypeScript or to compile the current go code using the wasm compiler, for using the in the manager the same code used by the backend. Maybe one thing to take into account is that the wasm compiler has been working almost the same since Go 1.11, but it is still marked as experimenta in the documentation: ( https://golang.org/pkg/syscall/js/#ValueOf . About adding the data to the current API, maybe adding a param to the current |
@Senyoret1 An endpoint that returns all the data will be implemented in #451. |
@Senyoret1 I've implemented the endpoint in #451, it's |
Describe the bug
When visiting a visor overview page in the hypervisor, it takes a substantial amount of time (roughly 3-4 seconds) for the hypervisor to display the information of the visor both in the app and routing tab. That seems like a long time given that a roundtrip ping time is about 400 ms. Maybe we can improve the return times of these calls.
The text was updated successfully, but these errors were encountered: