klevy-toast opened a new issue #11100:
URL: https://github.com/apache/pulsar/issues/11100


   **Describe the bug**
   When upgrading our pulsar client to 2.7.x, we noticed significantly higher 
CPU used for applications running multiple produces with the newer version. We 
have been unable to isolate the exact cause of the regression.
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. Run the example dropwizard application at 
https://github.com/klevy-toast/dropwizard-pulsar-test/
   2. Run `./while.sh` to trigger continuous message production
   3. Observe average CPU over time
   4. Change pulsar version in `pom.xml`, repeat 1-3
   
   **Expected behavior**
   CPU usage should be fairly similar between versions. But something in 2.7.x 
is clearly using more resources.
   
   **Screenshots**
   I tested this by running the application on an AWS t3a.large EC2 instance -- 
there was a ~15% increase in CPU.
   
![image](https://user-images.githubusercontent.com/42187013/123466383-464e3d80-d5bd-11eb-911f-4f33194fd5bf.png)
   
   **Desktop (please complete the following information):**
    - OS: linux
   
   


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