envoyproxy/envoy

Unconditional hedged requests

Open

#20,036 opened on Feb 18, 2022

View on GitHub
 (7 comments) (0 reactions) (0 assignees)C++ (5,373 forks)batch import
area/routerhelp wanted

Repository metrics

Stars
 (27,997 stars)
PR merge metrics
 (Avg merge 8d) (378 merged PRs in 30d)

Description

At the moment Envoy proxy supports hedged request with per timeout policy.

In our case we need to send multiple requests simultaneously (3 identical requests to 3 different backends for example) and get one fastest response.

The number of parallel requests needs to be configured from config

Is it possible to implement it in Envoy ?

Contributor guide