Re: [hybi] WebSocket Connection Failure Rates By Platform and Localhost or Other Destination

Adam Rice <ricea@chromium.org> Thu, 17 August 2017 10:20 UTC

Return-Path: <ricea@google.com>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 274B0132063 for <hybi@ietfa.amsl.com>; Thu, 17 Aug 2017 03:20:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.com header.b=QAcKA5BO; dkim=pass (1024-bit key) header.d=chromium.org header.b=a2GSLhb/
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 kqX_zYy9e0Tp for <hybi@ietfa.amsl.com>; Thu, 17 Aug 2017 03:20:17 -0700 (PDT)
Received: from mail-wr0-x22c.google.com (mail-wr0-x22c.google.com [IPv6:2a00:1450:400c:c0c::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 97BF41321F5 for <hybi@ietf.org>; Thu, 17 Aug 2017 03:20:17 -0700 (PDT)
Received: by mail-wr0-x22c.google.com with SMTP id z91so30075669wrc.4 for <hybi@ietf.org>; Thu, 17 Aug 2017 03:20:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=uws6P7pbfsR5Wi6W0PaJuYbZ8HsoDubtH6m6MZlPwgc=; b=QAcKA5BOcttTOmbVrpB44HzBAuKbJ3J7VbNo4xbbODQuj1N0D+zUMwdOl5fKffpnIQ 8v6QAbWxmgYQqZe1G9TXOZDuCoIeqDT0TAtNO+rXwbxeAWOLeqCKnr+4t6XLmNoJBKVs 4oE/hCNUdO06jxgaJ+dlvUHKBNMhKVuCK+TdErnyd4Pb5DGTGVmpcblp33d20eagSmvp xP9C9jEZRBp5sBkQOGXuKFYMdTp5Ori+deKTd4hiGMdXW1BTtMWEPxZStgNjzLBQtar7 tjIlzvM1Ckh4pFqCiD2+3QYBjGRnaYwFtwTwnoohoI/ENx0yyMP1oswf2Pvdsse7R43e ZUQg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=uws6P7pbfsR5Wi6W0PaJuYbZ8HsoDubtH6m6MZlPwgc=; b=a2GSLhb/1jk/0vo5dnwubELHqo3OD2C7kCpJEF+VQdJdCnlhDn6K6+PpHpez5ZGouz 5+Q6peomZ+MtRxAz0qb0vSv/XLvXvkXaNfrmhJFk24oz01uhnPrRs9QZ1f+2XMc6rJLM Kr2tuSo/c/OTM3BNzSIaW8p9WFwrM4oFo2DK0=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=uws6P7pbfsR5Wi6W0PaJuYbZ8HsoDubtH6m6MZlPwgc=; b=Ls2oRM34Hv/odEdd5I6l8oTnGU2TDNhb9CEhYqnkQvMxJlonIUjyvllK88tCaJEntZ CEPI1t3oJbOqq5h9ZQaWWfWbLpWHr1RghpKlUI6POSpuoCyRS3GLtI1PcAQORgLyVHSL pebTQeuLcBs3mWrdMKWUaq/Uz1jdGKr16u9xaBz4Osm+urITof+H1NO0hM5YpYvWU2mP QvFWXzIBJIpQwwKil0pqiqQMGK2lWZBEr/yMKmW1V6306SLkB4Z38BM8MJjKMfXUzOkg WlxYRLNZL8e4hBodwuzjRsuV93LDFpDw5Ly1zQk862uPbWdiH2S1udM9Su00ZnkWK3jM VfPQ==
X-Gm-Message-State: AHYfb5gI08K17NcmnlCODXnTJxyPSMpNDsFR6jmiNiYuLLUu3NXsHUoO 6j0DG+K0CO3lSS3bk8HuVjNxtd6ZPxD8
X-Received: by 10.28.143.205 with SMTP id r196mr1108043wmd.69.1502965215466; Thu, 17 Aug 2017 03:20:15 -0700 (PDT)
MIME-Version: 1.0
Sender: ricea@google.com
Received: by 10.28.46.21 with HTTP; Thu, 17 Aug 2017 03:20:14 -0700 (PDT)
In-Reply-To: <cb7e05b3-2f58-9d54-868b-7680ede794f0@warmcat.com>
References: <CAHixhFpVBrw27hcFT+ne6H9TZtnbenAbMCRGi2Ccb9FFpvDnMA@mail.gmail.com> <cb7e05b3-2f58-9d54-868b-7680ede794f0@warmcat.com>
From: Adam Rice <ricea@chromium.org>
Date: Thu, 17 Aug 2017 19:20:14 +0900
X-Google-Sender-Auth: cc7bEXutV9282HHvCMsyc_jof_Y
Message-ID: <CAHixhFqLWvMNgXB4sxtfFWcL0qZBOjeztuxsVmMWNBwh4WeoaA@mail.gmail.com>
To: Andy Green <andy@warmcat.com>
Cc: "hybi@ietf.org" <hybi@ietf.org>, blink-network-dev@chromium.org, net-dev <net-dev@chromium.org>
Content-Type: multipart/alternative; boundary="001a1145a81ac79e1b0556f05b0f"
Archived-At: <https://mailarchive.ietf.org/arch/msg/hybi/VcwbcXN_ifqLc8yK7WaXaXwuppo>
Subject: Re: [hybi] WebSocket Connection Failure Rates By Platform and Localhost or Other Destination
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/hybi/>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 17 Aug 2017 10:20:21 -0000

Interesting idea, thank you.

WebSockets in Chrome only became directly blockable by extensions (ie. via
the webRequest API) in March.

Prior to that, they could only be blocked by injecting Javascript into the
page to replace the global WebSocket constructor, in which case our metrics
would never see the connection attempt (unless the ad blocker just rewrote
it to a different URL?).

I just checked, and the relative failure rates in February were very
similar to what they are today.

On 17 August 2017 at 18:33, Andy Green <andy@warmcat.com> wrote:

>
>
> On 08/17/2017 04:17 PM, Adam Rice wrote:
>
>> I investigated the difference in success rates between WebSocket
>> connections on different platforms, as recorded by Chrome.
>>
>> I was able to show that most of the low success rate on Mac OS X could be
>> explained by attempted connections to localhost.
>>
>> There is still significant variation between platforms that is
>> unexplained.
>>
>> The document with the full results is at
>> https://docs.google.com/document/d/1S2y768C0hbI0etvSZWUoed5S
>> UdXAewRw3UpAKnuz0BE/edit
>>
>> Feedback and speculation as to the cause of the discrepancy is welcome.
>> I'm also interested if anyone has data from other sources they could share
>> for comparison.
>>
>
> How about [ad|u]block filters the attempted connection?
>
> Linux users have a high probability to use some kind of adblocking.
>
> Last time I looked chrome on Android wouldn't let me install such
> revenue-shrivelling addons.
>
> -Andy
>
>
>
>> _______________________________________________
>> hybi mailing list
>> hybi@ietf.org
>> https://www.ietf.org/mailman/listinfo/hybi
>>
>>
> _______________________________________________
> hybi mailing list
> hybi@ietf.org
> https://www.ietf.org/mailman/listinfo/hybi
>