Guocheng Zhang created TUBEMQ-585:
-------------------------------------

             Summary: Optimize the implementation of RmtDataCache class
                 Key: TUBEMQ-585
                 URL: https://issues.apache.org/jira/browse/TUBEMQ-585
             Project: Apache TubeMQ
          Issue Type: Improvement
          Components: Client
            Reporter: Guocheng Zhang


This class is used by the consumer to cache and manage metadata: the heartbeat 
from the client to the Master will update the cached metadata; the consumption 
request and response will query the metadata, and clean up the abnormal 
partition when it is abnormal. It belongs to the type to read more and write 
less, need to control concurrent access.

 

The implementation of it is not very good personally: it uses too many 
ConcurrentHashMap structures. If the implementation is optimized and adjusted 
while keeping the functions unchanged, the readability and operating efficiency 
of this part should be better.

 

The difficulty of this part is average, if someone has a better approach, 
welcome to put forward your ideas and communicate and improve it together.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to