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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Dave,

On Thu, Jul 21, 2011 at 10:52:07PM +0100, Dave Cridland wrote:
> On Thu Jul 21 18:33:38 2011, Willy Tarreau wrote:
> >If someone were to develop a backup/restore solution based on WS,  
> >it would
> >be funny to discover that it cannot be used to restore the DNS  
> >server when
> >this one fails...
> >
> >
> If SRV (with a fallback) is defined as part of the core spec, this  
> usage would use the fallback.

Which would be indicated by which component since the DNS is down ?

> >However in my opinion it could be good to document a recommended DNS
> >architecture for WS, that is judged optimal and the most  
> >interoperable.
> >This could clearly be a separate RFC suggesting how clients and  
> >server
> >can make use of DNS SRV records for HA and LB.
> 
> Okay, a thought experiment for you.
> 
> Let's assume we go ahead with dumb A/AAAA lookups.
> 
> How will it be possible for a server to later inform browser it  
> wishes to use SRV lookups?

The same way it has been stated that browsers should use AAAA records
before A records when they exist. At one point it will be possible to
say "if an SRV record exists, then the browser should preferably use
it".

My point is not that DNS is not useful, just that in *some* cases, it
is all but desirable. Have you ever wondered why every cisco router
on the planet has "no ip-domain-lookups" in its config ? Basically
because core infrastructure component must be able to run with very
low dependencies, and DNS certainly is one dependency that is not
desirable for a number of core infrastructure components. And there
is no reason why those components could not be WS clients.

> If you have an answer for this, we can make it optional, and moreover  
> we can deploy SRV for HTTP as well.

It's not that easy either for HTTP. As I said in an earlier mail, HTTP
(as well as WS) has something special called proxies, which exempt
clients from having to deal with DNS. The simple fact that the server
does not know if the client will be able to use the DNS or rely on a
chain of intermediaries that may use it in various ways is a problem
for making use of DNS extensions mandatory.

You couldn't make DNS SRV mandatory for WS when WS starts with a protocol
upgrade from HTTP which does not mandate use of DNS SRV : the DNS resolving
had to be performed by the HTTP chain well before the connection gets
upgraded to WS. If any existing HTTP component in the chain does not make
use of DNS SRV, everything falls apart.

Experience has shown that a spec is not a way to force the world to change
to accomodate its requirements, rather it's a way to tell the world how to
adopt it at a reasonable cost and effort. The higher the expectations, the
lower the adoption. The most important thing is that the spec is designed
to support smooth upgrades so that real world usage drives it forwards.

Best regards,
Willy

_______________________________________________
Ietf mailing list
Ietf@xxxxxxxx
https://www.ietf.org/mailman/listinfo/ietf


[Index of Archives]     [IETF Annoucements]     [IETF]     [IP Storage]     [Yosemite News]     [Linux SCTP]     [Linux Newbies]     [Fedora Users]