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

   ### Before Creating the Enhancement Request
   
   - [X] I have confirmed that this should be classified as an enhancement 
rather than a bug/feature.
   
   
   ### Summary
   
   
   When the number of files is very large (in a million queue scenario), the 
getLastMappedFile function affects performance
   
   ### Motivation
   
   When the number of files is very large (in a million queue scenario), the 
getLastMappedFile function affects performance.
   
   Through the flame graph, it can be seen that a large amount of performance 
is wasted in this function
   
   
![image](https://github.com/apache/rocketmq/assets/21963954/ef916ee5-5c7a-4c1b-924f-44e60adb6dbd)
   
   
![image](https://github.com/apache/rocketmq/assets/21963954/25ddcacf-4ea1-4f16-829e-8beae22d015d)
   
   ### Describe the Solution You'd Like
   
   Optimize performance
   
   ### 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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to