thetumbled opened a new pull request, #21168:
URL: https://github.com/apache/pulsar/pull/21168

   ### Motivation
   As shown in the following figure, the throughput in/out, message in/out, 
bandwidht in/out usage and CPU usage go up and down periodically as time goes 
by, while the memory usage and direct memory usage has nothing to do with the 
actual load.
   
![image](https://github.com/apache/pulsar/assets/52550727/a018b79e-22c4-4b9a-a077-296f7e0456d3)
   
![image](https://github.com/apache/pulsar/assets/52550727/65e2a415-7b60-48c2-b27b-843e83975320)
   
![image](https://github.com/apache/pulsar/assets/52550727/0d322f6c-5621-4c92-a526-72b8e7083154)
   
![image](https://github.com/apache/pulsar/assets/52550727/bbfc5452-3be5-42d9-8c74-0b65e54be017)
   
   Using memory usage and direct memory usage to score the broker load will 
result into wrong result.
   
   ### Modifications
   
   Removing memory usage and direct memory usage for scoring.
   And [PR#19559 ](https://github.com/apache/pulsar/pull/19559) has remove 
memory usage.
   
   ### Verifying this change
   
   - [ ] Make sure that the change passes the CI checks.
   
   *(Please pick either of the following options)*
   
   This change is a trivial rework / code cleanup without any test coverage.
   
   *(or)*
   
   This change is already covered by existing tests, such as *(please describe 
tests)*.
   
   *(or)*
   
   This change added tests and can be verified as follows:
   
   *(example:)*
     - *Added integration tests for end-to-end deployment with large payloads 
(10MB)*
     - *Extended integration test for recovery after broker failure*
   
   ### Does this pull request potentially affect one of the following parts:
   
   <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
   
   *If the box was checked, please highlight the changes*
   
   - [ ] Dependencies (add or upgrade a dependency)
   - [ ] The public API
   - [ ] The schema
   - [ ] The default values of configurations
   - [ ] The threading model
   - [ ] The binary protocol
   - [ ] The REST endpoints
   - [ ] The admin CLI options
   - [ ] The metrics
   - [ ] Anything that affects deployment
   
   ### Documentation
   
   <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
   
   - [ ] `doc` <!-- Your PR contains doc changes. -->
   - [ ] `doc-required` <!-- Your PR changes impact docs and you will update 
later -->
   - [ ] `doc-not-needed` <!-- Your PR changes do not impact docs -->
   - [ ] `doc-complete` <!-- Docs have been already added -->
   
   ### Matching PR in forked repository
   
   PR in forked repository: <!-- ENTER URL HERE -->


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