Re: [hybi] deflate-stream and masking

Philipp Serafin <phil127@gmail.com> Wed, 20 July 2011 12:10 UTC

Return-Path: <phil127@gmail.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 68EB921F871E for <hybi@ietfa.amsl.com>; Wed, 20 Jul 2011 05:10:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.598
X-Spam-Level:
X-Spam-Status: No, score=-3.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 GlWfsV73GNjx for <hybi@ietfa.amsl.com>; Wed, 20 Jul 2011 05:10:33 -0700 (PDT)
Received: from mail-ey0-f176.google.com (mail-ey0-f176.google.com [209.85.215.176]) by ietfa.amsl.com (Postfix) with ESMTP id D91C321F8713 for <hybi@ietf.org>; Wed, 20 Jul 2011 05:10:32 -0700 (PDT)
Received: by eya28 with SMTP id 28so860842eya.21 for <hybi@ietf.org>; Wed, 20 Jul 2011 05:10:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; bh=cZnM9fLGWBSKoq3+y0Q7IT5ai3s8bkBYkJPdUWaP4CM=; b=NuJF/UZ8BARTQ1vWwXWK+CxOjKNC61zm1JhtEZy3D2OcNskw17ULRbP/wriEQntknp TQo+P7O2gwHAVxTPswFEERaXOsVwceU4oNWSAo3FOux3k1ErItWs7AOm9zJoU/fIp76v O8Tk7sGUMhpcIsyiplF/o2I6/a1RjYyXMyLfU=
Received: by 10.213.27.8 with SMTP id g8mr3197039ebc.22.1311163830138; Wed, 20 Jul 2011 05:10:30 -0700 (PDT)
Received: from [212.201.75.145] (pptp-212-201-75-145.pptp.stw-bonn.de [212.201.75.145]) by mx.google.com with ESMTPS id c18sm505239eeb.38.2011.07.20.05.10.27 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 20 Jul 2011 05:10:28 -0700 (PDT)
Message-ID: <4E26C5AD.7060202@gmail.com>
Date: Wed, 20 Jul 2011 14:10:21 +0200
From: Philipp Serafin <phil127@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0
MIME-Version: 1.0
To: Arman Djusupov <arman@noemax.com>, Hybi <hybi@ietf.org>
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>
In-Reply-To: <002701cc46cc$0a04c820$1e0e5860$@noemax.com>
X-Enigmail-Version: 1.2
Content-Type: multipart/alternative; boundary="------------000707070800050502030109"
Subject: Re: [hybi] 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 12:10:34 -0000

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
>
>  
>
>  
>