Skip to content

Need more tonic::Channel to each tikv-server #475

@mzygQAQ

Description

@mzygQAQ

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions