On Tue, Apr 29, 2014 at 10:04:35AM -0400, Simon Perreault wrote:

> Le 2014-04-29 09:55, Henning Brauer a ?crit :
> >> Wouldn't it be better if libasr would run A and AAAA requests in
> >> parallel? Whichever response arrives first "wins".
> > no, since that gives extremely unpredictable results.
> 
> How about this then:
> 
> - Run both requests in parallel.
> - When one response is received, start a short timer (e.g. 200ms or so).
> - If the second response is received before the timer expires, sort and
> return the results as usual.
> - Otherwise, kill the second request and return what you have.
> 
> Simon

I'm still not sure what problem you bare trying to solve. I only see
added complexity here.

        -Otto

Reply via email to