hanahmily opened a new issue, #9930:
URL: https://github.com/apache/skywalking/issues/9930

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no 
similar feature requirement.
   
   
   ### Description
   
   In the testing, we should prove that the TopNAggregation meets the 
requirements of our design. 
   
   ## Architecture
   
   [data-generate](https://github.com/apache/skywalking/pull/8725) -> OAP -> 
BanyanDB
   
   We should add a new 
[MetricGenerator](https://github.com/apache/skywalking/blob/master/oap-server/server-tools/data-generator/src/main/java/org/apache/skywalking/generator)
 to generate a series of hierarchies of "service-> endpoints" to stimulate a 
high volume of endpoints.
   
   ## Test Cases
   
   1. Top 10 query by `top` function
   1. Bottom 10 query by `top` function
   1. Top 10 query by `TopNAggregation` with `counters_number` 1000
   1. Bottom 10 query by `TopNAggregation`  with `counters_number` 1000
   
   The number of endpoints varies in `100`, `1K`, `10k`, and `1M`.
   
   Below metrics should be collected during the testing:
   
   * Latency of querying
   * CPU usage
   * Memory increment
   * Disk usage
   
   ## Integration with CI
   
   Run the test with `10k` endpoints daily through a GHA workflow to check the 
writing/querying of TopNAggregation.
   
   ## Location to hold the test
   
   Place relevant codes and scripts in the `test/aggregation` folder.
   
   
   ### Use case
   
   _No response_
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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