PrivateAIM / node-ui

User interface for a node.
0 stars 1 forks source link

Improve data store view time #77

Closed brucetony closed 1 month ago

brucetony commented 3 months ago

This is a suggested performance enhancement. Currently, 3 requests are made to compile all of the information for this page with the kong call taking 2 sec and the 2 hub calls taking 1 sec each. Ideally, these could be made simultaneously or this can be offloaded to the hub adapter and the data all collected there before being passed to the UI.

brucetony commented 1 month ago

The number of components were shrunk down (from 3 detailed tables to 2), though the number of API calls remains the same. But, because fewer components are mounted, the page loads faster overall and thus this issue can be closed. If a new endpoint is created on the hub adapter side to condense this information later, then a new, separate issue will be made for the UI to incorporate it