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

Adam Rice <ricea@chromium.org> Thu, 17 August 2017 08:17 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 10388132397 for <hybi@ietfa.amsl.com>; Thu, 17 Aug 2017 01:17:06 -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=ArDGho8y; dkim=pass (1024-bit key) header.d=chromium.org header.b=MsW+qXoR
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 RDnnIOaTKebf for <hybi@ietfa.amsl.com>; Thu, 17 Aug 2017 01:17:04 -0700 (PDT)
Received: from mail-wr0-x236.google.com (mail-wr0-x236.google.com [IPv6:2a00:1450:400c:c0c::236]) (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 0B07C132386 for <hybi@ietf.org>; Thu, 17 Aug 2017 01:17:04 -0700 (PDT)
Received: by mail-wr0-x236.google.com with SMTP id b65so36645236wrd.0 for <hybi@ietf.org>; Thu, 17 Aug 2017 01:17:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:sender:from:date:message-id:subject:to:cc; bh=eIxz1rKMHOEAYKI4uyGn0Z3VrXnADhTzQoKrH0UmmpE=; b=ArDGho8yOCPg1+moVHp52RL3rMzZ2tUpYkJaJ3sc1hM9ud4cV4Ke3fspuErH01w/Lh xv6r2uATJrN+yLAxd5QF2fKqYNRYwjYZWKgDTajAlqlMvGxlpySIPzfrzIoFDwKzj5bc 7uzXB7F+rN7kSBlb8CiYIV1Rvco+zeDlF+daXAAerFShqPuAIHZvJgDQ/D2RgjTaxIy+ NXyT/dRJUbQOdObBzJh+ewoj/wwSdVzJa24O9/LD69C9GDbGqnQsDEc2SHmEqKeP/D2c yasDNiKJh3ufoC7QAnEMFX08ZPAg2kO5MuxHTiAh05GPlXW8RsPvX0skSLwMzAUaTajP t7Iw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:from:date:message-id:subject:to:cc; bh=eIxz1rKMHOEAYKI4uyGn0Z3VrXnADhTzQoKrH0UmmpE=; b=MsW+qXoR6hMg/CZEl65k2NQ65wQID0tDZ0b6p4BcKkDGvms2tjdIaBMmo2pGQYUeNc zu+NiXUD3McBosVCd5/yqJYBq8gsWXvTPA5mHQwqq9C6GhgXVs41wYmbY1u48uIMDfuk iTOW76256gz9bUE01RdOwVKQTv249XqzTdvAI=
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:from:date:message-id:subject :to:cc; bh=eIxz1rKMHOEAYKI4uyGn0Z3VrXnADhTzQoKrH0UmmpE=; b=ig8trvmDUdhxTFvIzMvojRQY30U982ogfn78F+EAvFa3CZ2//q8rEYXAtbHsDkHdNj /0N33uysqkdkhaklyFW5d9hdZTw+nJmBaTHPV43y1B4VmuSS2oTN+YnysZhiSkRIbA29 yYHUa4sbSMAdAqNcb1QngojCctrm46NoA/rJQQFN0mdBxNqiAXHsTZDwmiiVPJOuic7A hcOk3OxWfPq/2YPfWWQbF2Yk3tpgkn4cFc3q6TrAJoXB8cpveYWZhjAPKgbInx6O8RX+ R9TC5KyMlEn1t1d7beb6dLw03wXPkc/5C8HeQPE5Csus+EujsFk+MGs76o7hwFJi/bMk HCaw==
X-Gm-Message-State: AHYfb5hsE4PdCeaoXOZojbjDo/Sguf6rPmq2B0isDSX322C4KEvftruZ NzGddfSWSnrKk0fByLXec5S8J3AzBp+lTSiNMQ==
X-Received: by 10.223.195.120 with SMTP id e53mr2763941wrg.115.1502957821661; Thu, 17 Aug 2017 01:17:01 -0700 (PDT)
MIME-Version: 1.0
Sender: ricea@google.com
Received: by 10.28.46.21 with HTTP; Thu, 17 Aug 2017 01:17:00 -0700 (PDT)
From: Adam Rice <ricea@chromium.org>
Date: Thu, 17 Aug 2017 17:17:00 +0900
X-Google-Sender-Auth: X-K7bNohfeN6j8_ONBJe6r14mJk
Message-ID: <CAHixhFpVBrw27hcFT+ne6H9TZtnbenAbMCRGi2Ccb9FFpvDnMA@mail.gmail.com>
To: "hybi@ietf.org" <hybi@ietf.org>
Cc: blink-network-dev@chromium.org, net-dev <net-dev@chromium.org>
Content-Type: multipart/alternative; boundary="f403045c3c4612e24a0556eea3ca"
Archived-At: <https://mailarchive.ietf.org/arch/msg/hybi/xPxOINMImBgsiGUW1bZjMOwSUug>
Subject: [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 08:17:06 -0000

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/1S2y768C0hbI0etvSZWUoed5SUdXAewRw3UpAKnuz0BE/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.