[hybi] Fwd: Re: deflate-stream and masking

Justin Lee <jlee@antwerkz.com> Wed, 20 July 2011 18:02 UTC

Return-Path: <jlee@antwerkz.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 6122D21F8B08 for <hybi@ietfa.amsl.com>; Wed, 20 Jul 2011 11:02:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.976
X-Spam-Level:
X-Spam-Status: No, score=-2.976 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id auq+oxSoyWAm for <hybi@ietfa.amsl.com>; Wed, 20 Jul 2011 11:02:07 -0700 (PDT)
Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by ietfa.amsl.com (Postfix) with ESMTP id 9C9A321F8892 for <hybi@ietf.org>; Wed, 20 Jul 2011 11:02:07 -0700 (PDT)
Received: by fxe4 with SMTP id 4so2514504fxe.27 for <hybi@ietf.org>; Wed, 20 Jul 2011 11:02:06 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.223.1.129 with SMTP id 1mr572604faf.103.1311184926598; Wed, 20 Jul 2011 11:02:06 -0700 (PDT)
Received: by 10.223.103.147 with HTTP; Wed, 20 Jul 2011 11:02:06 -0700 (PDT)
Received: by 10.223.103.147 with HTTP; Wed, 20 Jul 2011 11:02:06 -0700 (PDT)
In-Reply-To: <CABDh0Kk9vRRKNbmxsY0zm64uVGs481vdgLf+BcE8+ZPLbFSY_A@mail.gmail.com>
References: <BANLkTi=UVMAd1nER6mRBe7zoD29CSbCkGA@mail.gmail.com> <CAH_y2NFMdr1ZU2dfy9mCRepZc2R_hnzg0oa3kYPKhWY-FX_8Og@mail.gmail.com> <CAE8AN_V-P2L0mVwjPQYxAypJ67=QWKAhWnDqrM_XmDQXjJbEHA@mail.gmail.com> <002701cc46cc$0a04c820$1e0e5860$@noemax.com> <4E26C5AD.7060202@gmail.com> <CABDh0Kk9vRRKNbmxsY0zm64uVGs481vdgLf+BcE8+ZPLbFSY_A@mail.gmail.com>
Date: Wed, 20 Jul 2011 11:02:06 -0700
Message-ID: <CABDh0K=LieY_vxmpqtym8czfEjwuGYu4fO+b-jGuBNfscMeixw@mail.gmail.com>
From: Justin Lee <jlee@antwerkz.com>
To: hybi <hybi@ietf.org>
Content-Type: multipart/alternative; boundary="001517447af2c8e56a04a8840777"
Subject: [hybi] Fwd: Re: deflate-stream and masking
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, 20 Jul 2011 18:02:08 -0000

Thought I'd replied on list...
---------- Forwarded message ----------
From: "Justin Lee" <jlee@antwerkz.com>
Date: Jul 20, 2011 8:48 AM
Subject: Re: [hybi] deflate-stream and masking
To: "Philipp Serafin" <phil127@gmail.com>

For what it's worth, I haven't bothered implementing deflate-stream on
glassfish because of the concerns here. Removing it would not bother me a
bit. I vote for removing or replacing it.
On Jul 20, 2011 5:10 AM, "Philipp Serafin" <phil127@gmail.com> wrote:
> However, for the same scenario, deflate-frame will have at worst
> identical, possibly better results. But unlike deflate-stream,
> deflate-frame will archieve the same results in a lot of other
> scenarios, too.
>
> Am 20.07.2011 12:58, schrieb Arman Djusupov:
>>
>> > +500. deflate-stream has always been utterly ridiculous in light of
>> masking.
>>
>>
>>
>> Actually when the frame is relatively large, deflate-stream
>> compression does reduce the size of the payload. For example one of my
>> tests involved sending a 2MB XML file as a single masked frame which
>> resulted in 90% compression (i.e. transferred size was a tenth of the
>> original file). So the "deflate-stream" extension is not completely
>> useless, it's just very situational.
>>
>>
>>
>> > Brian
>>
>>
>>
>> With best regards,
>>
>> Arman
>>
>>
>>
>>
>>