client-rust
client-rust copied to clipboard
Need more tonic::Channel to each tikv-server
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.
after test, we need batch stream ineed.