You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@inlong.apache.org by GitBox <gi...@apache.org> on 2022/02/17 03:16:50 UTC

[GitHub] [incubator-inlong] gosonzhang opened a new issue #2538: [TubeMQ] Optimize message write cache logic

gosonzhang opened a new issue #2538:
URL: https://github.com/apache/incubator-inlong/issues/2538


   ### Description
   
   Reviewing the code in the MsgMemStore file, found that the messages written to the cache were imperfect, fine-tuned to improve write performance:
   1. Remove the ConcurrentHashMap structure used by non-concurrent operation points and replace HashMap;
   2. Migrate operations that can be performed outside of the writeLock lock
   
   ### InLong Component
   
   InLong TubeMQ
   
   ### Are you willing to submit PR?
   
   - [X] Yes, I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


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

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



[GitHub] [incubator-inlong] gosonzhang closed issue #2538: [TubeMQ] Optimize message write cache logic

Posted by GitBox <gi...@apache.org>.
gosonzhang closed issue #2538:
URL: https://github.com/apache/incubator-inlong/issues/2538


   


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

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