Skip to content

Query Frontend should use Round Robin to Choose the Next Tenant to Service #2431

@joe-elliott

Description

@joe-elliott

Currently the query frontend randomly chooses a tenant queue and returns it when a querier requests a new query. This can cause exaggerated long tail latency if a tenant is simply repeatedly not chosen.

I propose updating the query frontend to use a simple round robin algorithm to choose the next tenant to increase fairness and eliminate the chance of an "unlucky" tenant.

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