GitHub
10/14/2025, 6:14 AMselect2 function, which significantly reduces UI loading time when handling a large number of nodes.
Initially, I assumed the slowness was caused by loading a large dataset from the database all at once. However, after adding more detailed logs, I realized that this wasn’t the main bottleneck — most of the delay came from loading the select2 function.
There are two root causes behind the issue:
1. All admin tags are loaded into the browser, even when they aren’t used.
2. The system automatically generates too many unnecessary tags.
This PR addresses the first issue by deferring the loading process. For now, it's okay to open the nodes list with 10k+ nodes.
For the second issue, we should stop generating meaningless tags. Currently, a tag is created for each node’s name and UUID, which are already unique identifiers. Tags should instead be used for grouping nodes — for example, by environment (dev, prod), region (westeu, westus), or team/office. Once we remove these unnecessary tags, the UI performance should return to normal.
jmpsec/osctrlGitHub
10/14/2025, 6:58 PM