Re: [Cbor] Packing CBOR (draft-bormann-cbor-packed-00)

Mike Jones <Michael.Jones@microsoft.com> Wed, 29 July 2020 02:59 UTC

Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1DA8D3A0F11 for <cbor@ietfa.amsl.com>; Tue, 28 Jul 2020 19:59:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.101
X-Spam-Level:
X-Spam-Status: No, score=-2.101 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=microsoft.com
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 lkDDEj3zG4j5 for <cbor@ietfa.amsl.com>; Tue, 28 Jul 2020 19:59:25 -0700 (PDT)
Received: from NAM06-BL2-obe.outbound.protection.outlook.com (mail-eopbgr650112.outbound.protection.outlook.com [40.107.65.112]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 56C353A0EE2 for <cbor@ietf.org>; Tue, 28 Jul 2020 19:59:25 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cIj7IRzuBMCtGsjjYIpV9vQ9UXFjN1inRn8tSo1OngvO9iiHbdTVeK25XTrgdWnke6ae47U3ZYsK3AivN2Mr1pqwp7Ehzzn/dgqMXbT32Qe+zEw6bzEefvF0kEVn7GvbaSB3ECjXEAbzKt8TkbfuLe3xseoFKH8jjgoew2xeDHluXXxkkDj+3flxWApAwVAuRxqJCySkbD95DBl7uJoOZ64GsaZ6EHhq4QPQ18MUQwzmdBDi3ti1YeUuV/6SbRESikcNlLa8XyPHPOiKGsm6GJSm5diBn9GEOK4TsJOxBfvvi45HzMeA4+dwis0ExAUdDyRTa+8PQpKngwe00FgZIw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=K+Nn/fzMyE14OfmBdh4Xd4zVFz/yTn+m1xn6Dp47isE=; b=INlivJViaYxGysvu7JScs4GCIZq8xR2qNxH2tqQPAoseE7LHK+bKuqtmfIen6KI5zcFT5mDMiYYMuWgD944I8Iqxm5UodfkGDl/VOD2TPwrnM+TQ2XPEyCrmU5E8Xda1nq1aLzJwBlgwFGmWcfQGdeN8MNtx9RbbQbi6pLZnPlUHXGERh/b7LL7F4a2Psi8Vu2RYpDnH/Kcn8WSz1AF+cT8lZBBZY8KNoNLJLNCNSuihM5i9SYW2txQtt1YzqwH6JMB59glieemi/LWVH7VTphg3yg4osgbUxRVRu7jBoHNLgzw6pwXFrfMLgzrco4hrSWTz5+3rqB+dcrksr6AD+w==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=K+Nn/fzMyE14OfmBdh4Xd4zVFz/yTn+m1xn6Dp47isE=; b=fMxU5Q2cCu2pmWH8RPBsCWACA31YM2zrbGIcjRmoslqvnseU7oU7NQZ7L/VNRic9MncJjRI2b6WN3xcIXD+szCUF7ESqrVq9x7LeRGDIiMVduKE1oUNhU3Xw1vk1a4E4ZZkrsg9jYLNYY103djqVXai9tpjbF/9ooEREnfQTemU=
Received: from BY5PR00MB0676.namprd00.prod.outlook.com (2603:10b6:a03:20c::15) by BY5PR00MB0791.namprd00.prod.outlook.com (2603:10b6:a03:1d8::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3278.0; Wed, 29 Jul 2020 02:59:18 +0000
Received: from BY5PR00MB0676.namprd00.prod.outlook.com ([fe80::2d3c:d0da:bc85:4e0f]) by BY5PR00MB0676.namprd00.prod.outlook.com ([fe80::2d3c:d0da:bc85:4e0f%7]) with mapi id 15.20.3278.000; Wed, 29 Jul 2020 02:59:18 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Carsten Bormann <cabo@tzi.org>, "cbor@ietf.org" <cbor@ietf.org>
Thread-Topic: [Cbor] Packing CBOR (draft-bormann-cbor-packed-00)
Thread-Index: AdZlVD2iKwHnZ/QRRCWfZ1kUDxHDlg==
Date: Wed, 29 Jul 2020 02:59:18 +0000
Message-ID: <BY5PR00MB0676BCB633279A32F55F4CDFF5700@BY5PR00MB0676.namprd00.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=d24857bd-14d3-4b7a-8ef2-9231ef5aa1bf; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2020-07-29T02:57:22Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47;
authentication-results: tzi.org; dkim=none (message not signed) header.d=none;tzi.org; dmarc=none action=none header.from=microsoft.com;
x-originating-ip: [50.47.89.111]
x-ms-publictraffictype: Email
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: f542a134-68e1-462d-6940-08d8336b62ca
x-ms-traffictypediagnostic: BY5PR00MB0791:
x-microsoft-antispam-prvs: <BY5PR00MB079146D38C8B284972F976B0F5701@BY5PR00MB0791.namprd00.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: Zuv6UbSccJS92xVE1ZIzoUPOT35sxewJwwRRPzb1qshWrGf8XlOY72kYOsJBfXLIrZ9vJxW08Tj6vkqHX76rYFaxgnU4pRZwVrA9QIEENyzl3U+qAbPmPVNhPGz0sm3mXpV14YxyHkXmwj7A5dOicsW9IYRuTArInpILhM/HRGbLTjDaPV9hIGhyvtIPiVfg3QO0x6JRRnhU91tZ42bzT0sjNrYC6BYuwwUZEA7AHOqi7GfSRWq2Mxtbj9b0EiAmT7L6OdX7VPNZa341/3sboHFLtGAL5BxmeFtghit0xQtxqsgKko36K9jWYW1HVsKVYjQu8KZa0Ol9oUBKbFLmlb/tGdOeqi1k3eJJFpyvnN/p09cRMYM+WNWBau/LSG7vBO3DNVvCYSHtjlQqpDjWzA==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BY5PR00MB0676.namprd00.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(39860400002)(376002)(136003)(396003)(346002)(33656002)(966005)(66946007)(478600001)(76116006)(64756008)(66574015)(66446008)(10290500003)(83380400001)(66556008)(66476007)(82960400001)(82950400001)(8990500004)(5660300002)(52536014)(2906002)(110136005)(86362001)(8936002)(71200400001)(8676002)(316002)(7696005)(53546011)(6506007)(186003)(55016002)(9686003)(26005); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata: g9y72sA6CX5BYziWqCPRktKDQY1Dim2nRYJCyau5lAtAOsfodRGiAFAZdYw9XsefzjYC3pj6VscVfrF1HuCAOQw+uP3qqu0QQVn1vJdDnGD06PF36Jsi7xHu5tsIKxzRxSp2Rg02GoZhsfLXmuouLz4Rkh8B7WtaeoDp7XgnRTn/j5eesKk3mhdIU/cAyJ7BsMapdm/SRJ7UM/xjqOmtMniKRyXnDFCeGbffNUbYUoBT8eacanOznkT5qosQyr+uxsCDD1iwOa2A+bChqw+8THnEcJF7v9oUp3paucGjCWyXjJRNettPSCKwBnhBVENZigdOI6W2uCnN2eo4wgFmzhexo1udr9F8VtmoKVMJirhDm4fWEVUGx4gDL/ftZHuShltzTBXLuAGKV1lH0xv81B9neKEchIBO4K9RpqGRfTeB/5rvuLXPKdgvSYwtYvHAj49MyB9GP3ujXvBEfDmiLKBjObjJ2jvo4HDV0xWpoJtM/KPEJ/IqRqpc3pMWe0/OQizwOJx6dP29C+6ZliftNUcuyZcsAsSeucLLZyt+qpBU8UQr5Si2Q+A5nqOFij/MOWGWIuQ/DxJFt7wfCH1pceRopAEmdXjOIhus19GgEZ/F8pBacEgMY+F39VkOBjS/0xbL5WJkixMamUu/KKcNUw==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BY5PR00MB0676.namprd00.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: f542a134-68e1-462d-6940-08d8336b62ca
X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jul 2020 02:59:18.3381 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: G3EUqIbi9Ssi6SHQ4eNFWW29Da3bE9H/6LWzRMJN5JiAcdTJbgX1nBr7w8wAvygRy5hjUBNGGoqEHgtNsF8Stw==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR00MB0791
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/LTCsC478vVCpG4AQ18qyvI-Nu9A>
Subject: Re: [Cbor] Packing CBOR (draft-bormann-cbor-packed-00)
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 29 Jul 2020 02:59:27 -0000

I am concerned that this will bifurcate CBOR into implementations that do and don't support this extra feature set.  If a call for adoption were held today, having thought about it, I would oppose adoption on this basis.  I'd rather that all CBOR implementations be interoperable than for some to add this fairly complicated compression feature.

				-- Mike

-----Original Message-----
From: CBOR <cbor-bounces@ietf.org> On Behalf Of Carsten Bormann
Sent: Monday, July 13, 2020 12:48 PM
To: cbor@ietf.org
Subject: [Cbor] Packing CBOR (draft-bormann-cbor-packed-00)

This draft may seem a bit unusual, in that it allocates 268439585 tags, including one of the 12 remaining precious single-byte ones.
But if you read it, that will seem perfectly normal.

Please see
https://www.ietf.org/id/draft-bormann-cbor-packed-00.html#name-acknowledgements
for how this came to be.

I’m going to ask for WG adoption at IETF 108...

Grüße, Carsten


> Begin forwarded message:
> 
> From: internet-drafts@ietf.org
> Subject: New Version Notification for draft-bormann-cbor-packed-00.txt
> Date: 2020-07-13 at 21:42:21 CEST
> To: "Carsten Bormann" <cabo@tzi.org>
> 
> 
> A new version of I-D, draft-bormann-cbor-packed-00.txt has been 
> successfully submitted by Carsten Bormann and posted to the IETF 
> repository.
> 
> Name:		draft-bormann-cbor-packed
> Revision:	00
> Title:		Packed CBOR
> Document date:	2020-07-13
> Group:		Individual Submission
> Pages:		9
> URL:            https://www.ietf.org/internet-drafts/draft-bormann-cbor-packed-00.txt
> Status:         https://datatracker.ietf.org/doc/draft-bormann-cbor-packed/
> Htmlized:       https://tools.ietf.org/html/draft-bormann-cbor-packed-00
> Htmlized:       https://datatracker.ietf.org/doc/html/draft-bormann-cbor-packed
> 
> 
> Abstract:
>   The Concise Binary Object Representation (CBOR, RFC 7049) is a data
>   format whose design goals include the possibility of extremely small
>   code size, fairly small message size, and extensibility without the
>   need for version negotiation.
> 
>   CBOR does not provide any forms of data compression.  CBOR data
>   items, in particular when generated from legacy data models often
>   allow considerable gains in compactness when applying data
>   compression.  While traditional data compression techniques such as
>   DEFLATE (RFC 1951) work well for CBOR, their disadvantage is that the
>   receiver needs to unpack the compressed form to make use of data.
> 
>   This specification describes Packed CBOR, a simple transformation of
>   a CBOR data item into another CBOR data item that is almost as easy
>   to consume as the original CBOR data item.  A separate decompression
>   step is therefore often not required at the receiver.
> 
> 
> 
> 
> Please note that it may take a couple of minutes from the time of 
> submission until the htmlized version and diff are available at tools.ietf.org.
> 
> The IETF Secretariat
> 
> 

_______________________________________________
CBOR mailing list
CBOR@ietf.org
https://www.ietf.org/mailman/listinfo/cbor