You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/02/15 08:53:57 UTC

[GitHub] [rocketmq] dongeforever commented on pull request #3848: [ISSUE #3831] Swapping mapped-byte-buffer to save memory on a system with extra-large disks.

dongeforever commented on pull request #3848:
URL: https://github.com/apache/rocketmq/pull/3848#issuecomment-1040015139


   @zhouxinyu It may have difficulty doing the lazy mapping safely while the mapped file is being used concurrently, which may need to introduce a lock.
   
   The current code is clear,  avoiding the anxiety of concurrent error, and is used for a long time in the production env.
   
   BTW, if you have a simple way to implement the lazy mapping, it is ok to show it in detail.


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

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