rocketmq icon indicating copy to clipboard operation
rocketmq copied to clipboard

Performance problem of method MQClientInstance#findBrokerVersion.

Open ymwneu opened this issue 7 years ago • 1 comments

BUG REPORT

  1. 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.

  1. Please tell us about your environment: None.

  2. Other information (e.g. detailed explanation, logs, related issues, suggestions how to fix, etc): None

ymwneu avatar Feb 22 '19 07:02 ymwneu

close dut to time too long.

ShannonDing avatar Apr 01 '20 03:04 ShannonDing