You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "RongtongJin (via GitHub)" <gi...@apache.org> on 2023/09/25 03:18:25 UTC

[GitHub] [rocketmq] RongtongJin opened a new issue, #7389: [Enhancement] When the number of files is very large (in a million queue scenario), the getLastMappedFile function affects performance

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: commits-unsubscribe@rocketmq.apache.org.apache.org

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


[GitHub] [rocketmq] RongtongJin closed issue #7389: [Enhancement] When the number of files is very large (in a million queue scenario), the getLastMappedFile function affects performance

Posted by "RongtongJin (via GitHub)" <gi...@apache.org>.
RongtongJin closed issue #7389: [Enhancement] When the number of files is very large (in a million queue scenario), the getLastMappedFile function affects performance
URL: https://github.com/apache/rocketmq/issues/7389


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

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