rocketmq
rocketmq copied to clipboard
Performance problem of method MQClientInstance#findBrokerVersion.
BUG REPORT
- Please describe the issue you observed:
-
What did you do (The steps to reproduce)? Method MQClientInstance#findBrokerVersion will invoke a RPC for each single pull when the brokerVersionTable not contains the specified key, which will cause a heavy load.
-
What did you expect to see? Method MQClientInstance#findBrokerVersion can cache the version info after a query though RPC.
-
What did you see instead? Version info did not cached.
-
Please tell us about your environment: None.
-
Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc): None
close dut to time too long.