You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "Aias00 (via GitHub)" <gi...@apache.org> on 2026/08/16 14:54:08 UTC

[I] [Studio][Performance] Avoid full alert-table scans for point and bulk mutations [rocketmq-dashboard]

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

   ## Problem
   
   Acknowledging one system alert first loads every alert and scans the result in memory. Toggling one alert rule and bulk toggling selected rules likewise load every rule before locating the requested IDs.
   
   These mutations become unnecessarily expensive as alert retention and rule inventories grow, even though the requested identifiers are already known.
   
   ## Expected behavior
   
   - Acknowledging an alert performs a point lookup by ID.
   - Single rule toggles use a point lookup.
   - Bulk rule toggles load only the submitted IDs.
   - Existing not-found and concurrent-deletion semantics remain unchanged.
   
   ## Scope
   
   Track 1 alert persistence. List-endpoint pagination is intentionally separate because it requires a REST/UI response-contract change.
   
   ## Acceptance criteria
   
   - Repository contracts expose point and selected-ID lookups.
   - No mutation path calls `findAlerts(null)` or `findAllRules()` to locate a known ID.
   - Focused service/repository tests cover successful, missing, and concurrent-delete outcomes.


-- 
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: commits-unsubscribe@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Studio][Performance] Avoid full alert-table scans for point and bulk mutations [rocketmq-dashboard]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #2271:
URL: https://github.com/apache/rocketmq-dashboard/issues/2271#issuecomment-5389247815

   This issue has been automatically closed because there has been no activity for 7 days. If you believe this issue is still relevant, please reopen it with updated information.


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Studio][Performance] Avoid full alert-table scans for point and bulk mutations [rocketmq-dashboard]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #2271: [Studio][Performance] Avoid full alert-table scans for point and bulk mutations
URL: https://github.com/apache/rocketmq-dashboard/issues/2271


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Studio][Performance] Avoid full alert-table scans for point and bulk mutations [rocketmq-dashboard]

Posted by "RockteMQ-AI (via GitHub)" <gi...@apache.org>.
RockteMQ-AI commented on issue #2271:
URL: https://github.com/apache/rocketmq-dashboard/issues/2271#issuecomment-5308119402

   **Issue Evaluation**
   
   Category: `enhancement` | Status: **Evaluated**
   
   **Feasibility:** Feasible
   **Scope:** Alert mutation endpoints, alert query service
   **Compatibility:** No breaking changes — internal optimization
   
   Full alert-table scans for point and bulk mutations are a clear performance bottleneck. Caching or indexing the alert state for targeted queries is a sound approach.
   
   ---
   *Automated evaluation by github-manager-bot*
   


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org