iotdb icon indicating copy to clipboard operation
iotdb copied to clipboard

[Feature request] Add keepAliveTime machenism to evict expired RPC clients

Open Pengzna opened this issue 1 year ago • 1 comments

Currently, idle clients that do not exceed the maxSize in the clientManager's pool will not be recycled, resulting in an abnormal number of clients in some high-concurrency scenarios.

Noting that, we need to:

  1. Add eviction thread to evict clients that are idle more than 1 minute.
  2. Merge core_client_num and max_client_num params, only remain max_client_num
  3. Add eviction UT

Pengzna avatar Jan 22 '24 09:01 Pengzna

Hi, this is your first issue in IoTDB project. Thanks for your report. Welcome to join the community!

github-actions[bot] avatar Jan 22 '24 09:01 github-actions[bot]