ietf
[Top] [All Lists]

Re: [hybi] Last Call: <draft-ietf-hybi-thewebsocketprotocol-10.txt> (The WebSocket protocol) to Proposed Standard

2011-07-27 18:11:27

In message <9031.1311786432.357811@puncture>, Dave Cridland writes:
On Wed Jul 27 06:25:49 2011, Willy Tarreau wrote:
On Wed, Jul 27, 2011 at 11:28:06AM +1000, Mark Andrews wrote:
SRV provides load-balancing and failover. I never said that SRV  
is a
solution for temporaly put in maintenance a server.

Happy eyeballs however does allow you to take a server out of  
production
and not really notice it.  Note webbrowsers have had the ability  
to do
this for as long as webbrowsers have existed.

Mark, could you elaborate on this point ? Surely you're not talking  
about
the fact that a browser retries a failed connection, but I'm not  
not sure
what mechanism you're talking about.

Happy eyeballs - try everything as soon as you can, in parallel. Drop  
everything else when one does.

More correctly it is try the first address and if that doesn't
connect in a short period (150...250ms) start a second connection
to the next address while continuing with the first.  If you have
more that 2 address you do something similar for the next one (I
use 1/2 the original timeout, but that is a implementation detail).
You continue to use the address that works for that session.  You
drop any other connections to other addresses that complete.

You get fast failover without lots of extra connection attempts
with the advantage that you detect and recover from network failures
that only affect the client.

Mark
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka(_at_)isc(_dot_)org
_______________________________________________
Ietf mailing list
Ietf(_at_)ietf(_dot_)org
https://www.ietf.org/mailman/listinfo/ietf

<Prev in Thread] Current Thread [Next in Thread>