Skip to content

Retry with "hedge" to reduce tail latency at scale #1050

@ahmet2mir

Description

@ahmet2mir

Hello,

Grafana dskit uses "hedging" with "cristalhq/hedgedhttp" in order to reduce latency when quering endpoints.

hedgedhttp said

See paper Tail at Scale by Jeffrey Dean, Luiz André Barroso. In short: the client first sends one request, but then sends an additional request after a timeout if the previous hasn't returned an answer in the expected time. The client cancels remaining requests once the first result is received.

Do you think that it's could be an accepted feature ?

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