RongtongJin opened a new issue, #7453:
URL: https://github.com/apache/rocketmq/issues/7453

   ### Before Creating the Enhancement Request
   
   - [X] I have confirmed that this should be classified as an enhancement 
rather than a bug/feature.
   
   
   ### Summary
   
   
   Constructing the GetMessageResult consumes significant performance when 
there is a high volume of pop requests
   
   
![image](https://github.com/apache/rocketmq/assets/21963954/524f9f24-31d6-454a-a837-a2eeabc7c19c)
   
   Incorrect use of commercialSizePerMsg as initialization size during 
construction
   
   
![image](https://github.com/apache/rocketmq/assets/21963954/6ac0e603-5a01-45e0-9eec-4e5029093255)
   
   
   ### Motivation
   
   Constructing the GetMessageResult consumes significant performance when 
there is a high volume of pop requests
   
   
![image](https://github.com/apache/rocketmq/assets/21963954/524f9f24-31d6-454a-a837-a2eeabc7c19c)
   
   Incorrect use of commercialSizePerMsg as initialization size during 
construction
   
   
![image](https://github.com/apache/rocketmq/assets/21963954/6ac0e603-5a01-45e0-9eec-4e5029093255)
   
   
   ### Describe the Solution You'd Like
   
   Use the maximum number of messages obtained this time as the initialization 
size
   
   ### Describe Alternatives You've Considered
   
   No
   
   ### Additional Context
   
   _No response_


-- 
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-unsubscr...@rocketmq.apache.org.apache.org

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

Reply via email to