Skip to content

[Feature] TiDB nodes assignment algorithm when receiving a request #5

@renajin

Description

@renajin

Feature Request

Is your feature request related to a problem? Please describe:
How does a load balancer work according to middleware?At any time, the operating load on each node should be balanced, so we need strategy to determine which tidb executes current sql in a short time(time must be a constant), we can’t waste too much time making decisions.

Describe the feature you'd like:
An algorithm is used to enable us to get an accurate decision for select nodes.

Describe alternatives you've considered:
The result relying solely on sql cost calculation is not very accurate, cpu should also be taken into consideration. Dynamically adjust this strategy throughout the process. @spxcmss

Teachability, Documentation, Adoption, Migration Strategy:

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