client-rust icon indicating copy to clipboard operation
client-rust copied to clipboard

Need more tonic::Channel to each tikv-server

Open mzygQAQ opened this issue 9 months ago • 1 comments

In the current implementation, the Client has only one TiKVConnect for each TiKV, which is essentially a single tonic::Channel underneath, meaning there's only one TCP connection. I made a simple modification to it, changing it to 16 channels per TiKV, and the OPS directly increased by 10 times. Perhaps we really need a connection pool.

mzygQAQ avatar Feb 27 '25 08:02 mzygQAQ

after test, we need batch stream ineed.

mzygQAQ avatar Mar 05 '25 09:03 mzygQAQ