Could backup request (or hedged requests ) be supported ？
atwoodhuang94 at gmail.com
Tue Sep 8 03:42:33 UTC 2020
In my work, I use nginx as a http proxy between diffreent services. As we
know, Envoy is also a very famous proxy. I have noticed that envoy has a
function called 'hedged requests'
. This means that Envoy will race multiple simultaneous upstream requests
and return the response associated with the first acceptable response
headers to the downstream.
so ,could nginx support this function ？ I have tried to do some change in
ngx_http_upstream.c. But I found that too much code needs to be changed to
accomplish this function， it's too difficult for me.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx