Re: [hybi] I-D Action: draft-ietf-hybi-thewebsocketprotocol-13.txt

Tobias Oberstein <tobias.oberstein@tavendo.de> Wed, 07 September 2011 13:30 UTC

Return-Path: <tobias.oberstein@tavendo.de>
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 D641021F8C22 for <hybi@ietfa.amsl.com>; Wed, 7 Sep 2011 06:30:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.506
X-Spam-Level:
X-Spam-Status: No, score=-2.506 tagged_above=-999 required=5 tests=[AWL=0.093, BAYES_00=-2.599]
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 yqckU8twGJgU for <hybi@ietfa.amsl.com>; Wed, 7 Sep 2011 06:30:59 -0700 (PDT)
Received: from EXHUB020-2.exch020.serverdata.net (exhub020-2.exch020.serverdata.net [206.225.164.29]) by ietfa.amsl.com (Postfix) with ESMTP id 4747F21F8BB1 for <hybi@ietf.org>; Wed, 7 Sep 2011 06:30:59 -0700 (PDT)
Received: from EXVMBX020-12.exch020.serverdata.net ([169.254.3.209]) by EXHUB020-2.exch020.serverdata.net ([206.225.164.29]) with mapi; Wed, 7 Sep 2011 06:32:48 -0700
From: Tobias Oberstein <tobias.oberstein@tavendo.de>
To: "Richard L. Barnes" <rbarnes@bbn.com>, Len Holgate <len.holgate@gmail.com>
Date: Wed, 07 Sep 2011 06:31:26 -0700
Thread-Topic: [hybi] I-D Action: draft-ietf-hybi-thewebsocketprotocol-13.txt
Thread-Index: AcxtV7Eim3TyrTTpSkuMw5oBOuBBjQACmFng
Message-ID: <634914A010D0B943A035D226786325D422C0F6D564@EXVMBX020-12.exch020.serverdata.net>
References: <20110831184207.1514.64093.idtracker@ietfa.amsl.com> <0fc901cc6878$1681eec0$0a00a8c0@Venus> <CAH9hSJb2rH+fX0AnekYxsEkHKzb15aHrg_hDQw1baWLiWBF-3w@mail.gmail.com> <17b501cc6d31$3016d6d0$0a00a8c0@Venus> <C2CBF8E1-ADC8-48F9-AB82-B98151A36A81@bbn.com>
In-Reply-To: <C2CBF8E1-ADC8-48F9-AB82-B98151A36A81@bbn.com>
Accept-Language: de-DE, en-US
Content-Language: de-DE
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: de-DE, en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] I-D Action: draft-ietf-hybi-thewebsocketprotocol-13.txt
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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: Wed, 07 Sep 2011 13:30:59 -0000

> Sorry if I'm missing something (I missed the beginning of the thread), but are
> there people out there who actually *want* masking from the server to the
> client?  The work by abarth, ekr, et al. showed a roughly 40% performance hit

at least for the Python/Twisted implementation I can say that - even after
quite some optimization experiments - the masking is the bottleneck.

I've heard that for C/C++ it's (expected) not the case, and that for node.js/V8
it's also not (maybe due to the heavily JITting the V( performs).

> due to masking under some circumstances -- presumably adding s2c masking
> would degrade performance even further.

+1: s2c => MUST NOT mask