Re: Feedback on TCP Fast Open?

"Adrien de Croy" <adrien@qbik.com> Sun, 04 August 2013 00:03 UTC

Return-Path: <ietf-http-wg-request@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2E1F121F9F9E for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 3 Aug 2013 17:03:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.902
X-Spam-Level:
X-Spam-Status: No, score=-3.902 tagged_above=-999 required=5 tests=[AWL=4.000, BAYES_00=-2.599, FRT_POSSIBLE=2.697, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iSpOP2f3oR22 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 3 Aug 2013 17:03:15 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) by ietfa.amsl.com (Postfix) with ESMTP id C0D5D21F9E76 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sat, 3 Aug 2013 17:03:14 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.72) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1V5llG-0001jd-1x for ietf-http-wg-dist@listhub.w3.org; Sun, 04 Aug 2013 00:01:26 +0000
Resent-Date: Sun, 04 Aug 2013 00:01:26 +0000
Resent-Message-Id: <E1V5llG-0001jd-1x@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1V5ll3-0001iu-H1 for ietf-http-wg@listhub.w3.org; Sun, 04 Aug 2013 00:01:13 +0000
Received: from smtp.qbik.com ([210.55.214.35]) by maggie.w3.org with esmtp (Exim 4.72) (envelope-from <adrien@qbik.com>) id 1V5ll1-0002P1-M3 for ietf-http-wg@w3.org; Sun, 04 Aug 2013 00:01:13 +0000
Received: From SCREECH.qbik.local (unverified [192.168.0.4]) by SMTP Server [192.168.0.1] (WinGate SMTP Receiver v8.0.0 (Build 4601)) with SMTP id <0019812491@smtp.qbik.com>; Sun, 04 Aug 2013 12:00:41 +1200
Received: From [192.168.0.23] (unverified [192.168.0.23]) by SMTP Server [192.168.0.4] (WinGate SMTP Receiver v8.0.0 (Build 4601)) with SMTP id <0000261086@SCREECH.qbik.local>; Sun, 04 Aug 2013 12:00:40 +1200
From: Adrien de Croy <adrien@qbik.com>
To: Willy Tarreau <w@1wt.eu>, "William Chan (?????????)" <willchan@chromium.org>
Cc: "Scharf, Michael (Michael)" <michael.scharf@alcatel-lucent.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>, "tcpm@ietf.org" <tcpm@ietf.org>
Date: Sun, 04 Aug 2013 00:00:40 +0000
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; format="flowed"; charset="utf-8"
In-Reply-To: <20130802141529.GA30308@1wt.eu>
Message-Id: <em451aac53-b8da-4533-b586-1fb9460a99aa@bodybag>
Mime-Version: 1.0
Reply-To: Adrien de Croy <adrien@qbik.com>
User-Agent: eM_Client/5.0.18025.0
Received-SPF: pass client-ip=210.55.214.35; envelope-from=adrien@qbik.com; helo=smtp.qbik.com
X-W3C-Hub-Spam-Status: No, score=-4.2
X-W3C-Hub-Spam-Report: AWL=-2.722, RP_MATCHES_RCVD=-1.452, SPF_PASS=-0.001, T_FRT_POSSIBLE=0.01
X-W3C-Scan-Sig: maggie.w3.org 1V5ll1-0002P1-M3 cdfad769a01a302788efa2977d9feaad
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Feedback on TCP Fast Open?
Archived-At: <http://www.w3.org/mid/em451aac53-b8da-4533-b586-1fb9460a99aa@bodybag>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/19049
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

we get tech support queries about this as well...

"what are all these connections without a URL showing in activity".

Nice little tech support ticket generator feature.

We figured it was pre-emtive connecting, since eventually a request may 
be made on the connection.


------ Original Message ------
From: "Willy Tarreau" <w@1wt.eu>
To: "William Chan (?????????)" <willchan@chromium.org>
Cc: "Scharf, Michael (Michael)" <michael.scharf@alcatel-lucent.com>; 
"ietf-http-wg@w3.org" <ietf-http-wg@w3.org>; "tcpm@ietf.org" 
<tcpm@ietf.org>
Sent: 3/08/2013 2:15:29 a.m.
Subject: Re: Feedback on TCP Fast Open?
>Hi William,
>
>On Fri, Aug 02, 2013 at 06:51:31AM -0700, William Chan (?????????) 
>wrote:
>>  The short of it is, for vanilla HTTP, it's unclear how beneficial it 
>>would
>>  be for us since we already have such gains for browser preconnect 
>>(our
>>  browser feature that learns from past web browsing to speculatively
>>  establish connections, typically just TCP connections but perhaps 
>>doing a
>>  TLS or other handshakes too as needed).
>
>That's pretty interesting. Is this already enabled by default ? I'm 
>asking
>because I've got several users of haproxy report me that their web site 
>was
>regularly "attacked" by many connections in which no request is sent, 
>and
>that because of this they had to increase the number of concurrent 
>connections
>otherwise they can't stand the load. I asked if they thought it could 
>be
>something like a bug in some JS application or something like this as I 
>was
>no aware of the preconnect feature. It's been a bit hard to analyse, 
>since
>they see no request, they can't get any information on the user agent 
>for
>example. The thing is that it does not look like a regular attack since 
>the
>load is more or less constant, and not very high. So till now it was 
>always
>possible to work around this by increasing the connection limits 2-10 
>times.
>
>But now I'm thinking that *if it was a preconnect behaviour*, there 
>could
>possibly be some harm there. I have no idea how many connections a 
>browser
>can send to recently visited sites, but for sites which use a short 
>keep-alive
>timeout to limit the concurrency, having a significant increase on the 
>number
>of concurrent connections can be a problem.
>
>Note that I'm talking using a conditional form, as I can't provide 
>evidence
>for this to be related to a preconnect feature, but your description 
>really
>matches what I observed, and I am really wondering about the risks and
>possibile impacts based on something that could appear related. If the
>increase in connection count may be significant for small sites, then 
>maybe
>TFO could be a decent alternative (though it will clearly not pass 
>through
>every firewall).
>
>Best regards,
>Willy
>
>