Re: [Spud] SPUD and anycast... ?!
Toerless Eckert <eckert@cisco.com> Sat, 15 August 2015 04:23 UTC
Return-Path: <eckert@cisco.com>
X-Original-To: spud@ietfa.amsl.com
Delivered-To: spud@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1])
by ietfa.amsl.com (Postfix) with ESMTP id 076551AD0CF
for <spud@ietfa.amsl.com>; Fri, 14 Aug 2015 21:23:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -13.517
X-Spam-Level:
X-Spam-Status: No, score=-13.517 tagged_above=-999 required=5
tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, PLING_QUERY=0.994, RCVD_IN_DNSWL_HI=-5,
SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5]
autolearn=ham
Received: from mail.ietf.org ([4.31.198.44])
by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id Grl4YTwZznDM for <spud@ietfa.amsl.com>;
Fri, 14 Aug 2015 21:23:37 -0700 (PDT)
Received: from alln-iport-3.cisco.com (alln-iport-3.cisco.com [173.37.142.90])
(using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits))
(No client certificate requested)
by ietfa.amsl.com (Postfix) with ESMTPS id F1A361AD0CE
for <spud@ietf.org>; Fri, 14 Aug 2015 21:23:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;
d=cisco.com; i=@cisco.com; l=5947; q=dns/txt; s=iport;
t=1439612616; x=1440822216;
h=date:from:to:cc:subject:message-id:references:
mime-version:in-reply-to;
bh=iVz047JHAIFwYcYf7fRmiy8PWiyQiAE0x4+o7Yk2zPw=;
b=I5/Ud3Zjd2v1tf/7LFZq516ejE6FOpCqS0MkYwWszUSDKc9FiRE/ukwb
+T2yljD0p9zXtjUpKlEkIwcWnRGqaHQtMFfXQp+Jb/SefsVdXCJ32Q+D0
i7pa3eGSKIBXsih2aiHi0sCXHEYvmwohpKhqKJZyIkIr32o8ucz/jO/m7 0=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CjAwBJvs5V/51dJa1dgxtUab4SAQmBawyFdwKBLgw4FAEBAQEBAQGBCoQjAQEBAwEBAQE3NAsMBAsOAwQBAQEJHgcPBRMfCQ4TGwOICAgNz1sBAQEBAQEBAQEBAQEBAQEBAQEBAQEXi1OEPksHBoQmBY1ShD+DDYxpA5olJoQdHjOCTAEBAQ
X-IronPort-AV: E=Sophos;i="5.15,682,1432598400"; d="scan'208";a="178539506"
Received: from rcdn-core-6.cisco.com ([173.37.93.157])
by alln-iport-3.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;
15 Aug 2015 04:23:35 +0000
Received: from mcast-linux1.cisco.com (mcast-linux1.cisco.com [172.27.244.121])
by rcdn-core-6.cisco.com (8.14.5/8.14.5) with ESMTP id t7F4NZbL031521
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
Sat, 15 Aug 2015 04:23:35 GMT
Received: from mcast-linux1.cisco.com (localhost.cisco.com [127.0.0.1])
by mcast-linux1.cisco.com (8.13.8/8.13.8) with ESMTP id t7F4NYi8028981;
Fri, 14 Aug 2015 21:23:34 -0700
Received: (from eckert@localhost)
by mcast-linux1.cisco.com (8.13.8/8.13.8/Submit) id t7F4NYGh028980;
Fri, 14 Aug 2015 21:23:34 -0700
Date: Fri, 14 Aug 2015 21:23:34 -0700
From: Toerless Eckert <eckert@cisco.com>
To: Michael Thornburgh <mthornbu@adobe.com>
Message-ID: <20150815042334.GI1667@cisco.com>
References: <20150814070411.GQ1667@cisco.com>
<07E2D217-F71A-47DD-850D-F6F21855FBC1@lurchi.franken.de>
<20150814115939.GS1667@cisco.com>
<A8C02E01-673A-4F3A-BE91-6F8646CC791F@lurchi.franken.de>
<20150814132352.GT1667@cisco.com>
<BLUPR02MB17477361277708CB3BAA0D52CD7C0@BLUPR02MB1747.namprd02.prod.outlook.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <BLUPR02MB17477361277708CB3BAA0D52CD7C0@BLUPR02MB1747.namprd02.prod.outlook.com>
User-Agent: Mutt/1.4.2.2i
Archived-At: <http://mailarchive.ietf.org/arch/msg/spud/09F96P41NMjD__7gQ_DvDqvH0BU>
Cc: "spud@ietf.org" <spud@ietf.org>
Subject: Re: [Spud] SPUD and anycast... ?!
X-BeenThere: spud@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Session Protocol Underneath Datagrams <spud.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/spud>,
<mailto:spud-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spud/>
List-Post: <mailto:spud@ietf.org>
List-Help: <mailto:spud-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/spud>,
<mailto:spud-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 15 Aug 2015 04:23:39 -0000
Nice.
Does 3. in RTMFP imply one more RTT to start the session ?
to just seed a (good) NAT/FW, it should be sufficient for responder to
send the ACK to the responder instead of restarting with SYN ?! (to avoid one more RTT).
Don't find the word multicast in the text though...
Cheers
Toerless
On Fri, Aug 14, 2015 at 11:34:27PM +0000, Michael Thornburgh wrote:
> RTMFP (RFC 7016) supports opening to an anycast or multicast address "out of the box". these cases aren't explicitly called out in the spec, but the same mechanism that supports parallel open, redirectors, forwarders, and load distribution/fault tolerance also supports anycast/multicast. see Section 3.5.1 (and subsections) of RFC 7016.
>
> opening to an anycast address could work in these ways:
>
> 1. anycast responder uses the anycast address for the session, as long as the anycast routing is consistent for the lifetime of the session (otherwise the session will time out and die), same as with TCP or anything else
>
> 2. anycast responder uses its unicast address to respond with its RHello, session is established to the unicast address
>
> 3. anycast responder uses its anycast address to respond with a Redirect listing the responder's unicast address, initiator then tries unicast address and establishes the session
>
> note that if the client has an address/port restricted NAT or firewall, 2 won't work, but 3 would.
>
> for opening to a multicast address, the responders would all respond with an RHello. whichever one was received first would win and be selected by the initiator for the session, and the other responses would be ignored (the same situation as for the load distribution case in Section 3.5.1.7).
>
> -mike
>
>
> > -----Original Message-----
> > From: Spud [mailto:spud-bounces@ietf.org] On Behalf Of Toerless Eckert
> > Sent: Friday, August 14, 2015 6:24 AM
> > To: Michael Tuexen
> > Cc: spud@ietf.org
> > Subject: Re: [Spud] SPUD and anycast... ?!
> >
> > On Fri, Aug 14, 2015 at 03:19:00PM +0200, Michael Tuexen wrote:
> > > > On 14 Aug 2015, at 13:59, Toerless Eckert <eckert@cisco.com> wrote:
> > > >
> > > > http://www.cachefly.com/2014/07/11/measuring-throughput-performance-dns-vs-tcp-anycast-routing/
> > > >
> > > > Even beyond this easily googled example, i think that anycast TCP is
> > > > used quite a bit and on web application you can often just have short
> > > > lived TCP connection running completely on the anycast address and just
> >
> > > If you want to use anycast with TCP, how do you make sure that all TCP
> > > packets with the same anycast destination address end up at the same host?
> >
> > My paragraph meant to imply that the whole TCP connection does use anycast
> > in this case, and the different instances of the anycast group are deployed
> > so that ECMP can't happen, so the TCP connections will only fail in case
> > of re-routing that changes metrics to have the anycast address flip over
> > and that doesn't seem to a big enough problem in the deployment cases -
> > because the servers are far enough apart from each other for example.
> >
> > > For SCTP you would only use an anycast address as the destination address of
> > > the first packet and then the server uses a unicast address. Since SCTP
> > > supports multiple IP addresses and dynamic address reconfiguration, that
> > > is possible. Similar things can be done with MPTCP, but not with TCP.
> >
> > I thought to remembre from long time ago that the only architecturally
> > sane anycast assumption is that a single packet will only reach a single
> > anycast group member. As soon as you send two packets they may end uup
> > in different ones. Of course, likelyhood for this is quite small. SO all
> > i was saying is that it wold be lovely for SPUD to be able to support
> > architecturally sane use of anycast. Seems simple enough to permit it.
> >
> > Cheers
> > Toerless
> >
> > > Best regards
> > > Michael
> > > > redirect to a unicast URL when you know it's going to be long-lived (streaming).
> > > > So i think the reason why this may not have come up is because for a good amount
> > > > of applications, just ignoring the anycast problem leads to good enough
> > > > solutions, and the solutions where this would not work may not had
> > > > enough of a business case / working strategy to get this type of extension
> > > > forced into TCP.
> > > >
> > > > Cheers
> > > > toerless
> > > >
> > > > On Fri, Aug 14, 2015 at 09:39:57AM +0200, Michael Tuexen wrote:
> > > >>> On 14 Aug 2015, at 09:04, Toerless Eckert <eckert@cisco.com> wrote:
> > > >>>
> > > >>> Was there ever an extension for TCP or SCTP to "explicitly" deal with
> > > >>> anycast, eg: SYN to reponder anycast, SYN-ACK back from responder
> > > >>> unicast, but with data field indicating anycast address and nonce from
> > > >>> SYN, then ACK back to responder unicast ?
> > > >> You can do that with SCTP and dynamic address re-conifguration. Randy
> > > >> Stewart and myself discussed this ages ago but never wrote an ID, since
> > > >> we didn't see a consumer of the idea.
> > > >>
> > > >> Best regards
> > > >> Michael
> > > >>>
> > > >>> I can't remember / find anything like this right now. WOuld be
> > > >>> lovely for SPUD to consier including something like this. Heck,
> > > >>> could even do this with multicast and let initiator send ACK
> > > >>> back to fastest responder ;-)
> > > >>>
> > > >>> Cheers
> > > >>> Toerless
> > > >>>
> > > >>> _______________________________________________
> > > >>> Spud mailing list
> > > >>> Spud@ietf.org
> > > >>> https://www.ietf.org/mailman/listinfo/spud
> >
> > _______________________________________________
> > Spud mailing list
> > Spud@ietf.org
> > https://www.ietf.org/mailman/listinfo/spud
--
---
Toerless Eckert, eckert@cisco.com
- [Spud] SPUD and anycast... ?! Toerless Eckert
- Re: [Spud] SPUD and anycast... ?! Michael Tuexen
- Re: [Spud] SPUD and anycast... ?! Toerless Eckert
- Re: [Spud] SPUD and anycast... ?! Michael Tuexen
- Re: [Spud] SPUD and anycast... ?! Toerless Eckert
- Re: [Spud] SPUD and anycast... ?! Michael Thornburgh
- Re: [Spud] SPUD and anycast... ?! Toerless Eckert
- Re: [Spud] SPUD and anycast... ?! Michael Thornburgh