Aias00 opened a new issue, #1666:
URL: https://github.com/apache/rocketmq-dashboard/issues/1666

   ## Problem
   
   `InstanceService.listInstances()` calls `countTopics(instanceId)` and 
`countGroups(instanceId)` for every returned managed instance. For cloud-backed 
instances those methods can each invoke remote control-plane APIs, making one 
list request O(instances) remote calls and increasing latency/rate-limit 
pressure.
   
   ## Why this needs a provider-contract design
   
   The current `InstanceProvider` exposes only per-instance count methods, 
while some cloud catalog responses already contain count metadata. A local 
concurrent fan-out would still scale remote load and could exceed provider 
quotas.
   
   ## Proposed direction
   
   - Add an optional batch-count capability or use counts returned by cloud 
catalog APIs.
   - Otherwise lazily load counts after the list response with a visible 
unavailable/loading state.
   - Define bounded concurrency, timeout, and partial-result semantics.
   - Add provider-specific performance and failure tests.
   
   ## Track
   
   Track 1 / multi-instance control plane performance.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to