Re: [regext] Éric Vyncke's No Objection on draft-ietf-regext-rdap-sorting-and-paging-16: (with COMMENT)

"Eric Vyncke (evyncke)" <evyncke@cisco.com> Tue, 22 September 2020 13:45 UTC

Return-Path: <evyncke@cisco.com>
X-Original-To: regext@ietfa.amsl.com
Delivered-To: regext@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6C07C3A0DDA; Tue, 22 Sep 2020 06:45:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.6
X-Spam-Level:
X-Spam-Status: No, score=-9.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.com header.b=iMQEY97b; dkim=pass (1024-bit key) header.d=cisco.onmicrosoft.com header.b=lA0/CGzL
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 ggcwMmj5Xv1y; Tue, 22 Sep 2020 06:45:12 -0700 (PDT)
Received: from alln-iport-6.cisco.com (alln-iport-6.cisco.com [173.37.142.93]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3DB283A0DD2; Tue, 22 Sep 2020 06:45:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=14505; q=dns/txt; s=iport; t=1600782312; x=1601991912; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=2kIqEWLXw2PPYkjimWPHZ842Rwlv/0zOoJUIU7jI3oc=; b=iMQEY97by7wejWDeOUPjxHy33nKk87//WhAKL5WSx9V4tFuYcA92EMPe TBCqL2o7QSzJ7Hbe3kqLkftSaD9F7Vw0zjJkbxrgn4QszF4ULwyXEI03i LSEup3s+EJOmszGKE4cLFR/Kqn94CjwaH6WTaDqRfYTTA0TsVUagEu0mP s=;
IronPort-PHdr: 9a23:6nfIgBb/eKeOgGRUUOiUCYD/LSx94ef9IxIV55w7irlHbqWk+dH4MVfC4el21QaTD4TW9/wCjPDZ4OjsWm0FtJCGtn1KMJlBTAQMhshemQs8SNWEBkv2IL+PDWQ6Ec1OWUUj8yS9Nk5YS8fze1OUpWe9vnYeHxzlPl9zIeL4UofZk8Ww0bW0/JveKwVFjTawe/V8NhKz+A7QrcIRx4BlL/U8
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0CvCQDQ/mlf/5tdJa1fg3svIwYoB3BZLyyEOoNGA6F/hG6BQoERA1UDCAEBAQ0BASMKAgQBAYRLAheCDgIkOBMCAwEBCwEBBQEBAQIBBgRthVwMhXMCAQMSER0BATcBDwIBBgI7BwICAjAaCwIEAQ0ngwQBgX5NAy4BDpkykGkCgTmIYXaBMoMBAQEFhSoYghADBoE4gnGDaYImG4QRG4FBP4ERJxyCTT6CXAQXgSwCLxaCajOCLZAJgyyGfSaCfZhggQAKgmeId5FXAx+DDIl5k36ETI4yimGVGwIEAgQFAg4BAQWBayOBV3AVOyoBgj5QFwINjlZuAQKCSYpWdDcCAwMBCQEBAwkBe41jAQE
X-IronPort-AV: E=Sophos;i="5.77,290,1596499200"; d="scan'208,217";a="580994208"
Received: from rcdn-core-4.cisco.com ([173.37.93.155]) by alln-iport-6.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 22 Sep 2020 13:45:11 +0000
Received: from XCH-ALN-004.cisco.com (xch-aln-004.cisco.com [173.36.7.14]) by rcdn-core-4.cisco.com (8.15.2/8.15.2) with ESMTPS id 08MDj7eH024357 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=FAIL); Tue, 22 Sep 2020 13:45:08 GMT
Received: from xhs-rcd-001.cisco.com (173.37.227.246) by XCH-ALN-004.cisco.com (173.36.7.14) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 22 Sep 2020 08:45:07 -0500
Received: from xhs-aln-003.cisco.com (173.37.135.120) by xhs-rcd-001.cisco.com (173.37.227.246) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 22 Sep 2020 08:45:06 -0500
Received: from NAM12-DM6-obe.outbound.protection.outlook.com (173.37.151.57) by xhs-aln-003.cisco.com (173.37.135.120) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Tue, 22 Sep 2020 08:45:06 -0500
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RgySLUmsIOGOvahIv28M4D2zrzhP03BmZjUG7Bq6JIPEjzN9q7dLzgFXBWP36+rNvKTpljAwKGpHNHqhkTxND27mAHezSsorlVdhvXkWBDt6/YfffyfxjioFluHgPVgdebDNSumbYsuYAz131qR3M+ihKakntwSqGYlWAEWe+3EyRU+mHuvJFPLy4DvwQvE8aDrPBg9N8pKsPPkZtWsqIjk9N0Gc2CzzFAeQakYuFqunWfEcHgRMWJqijeSP9HHeG1Bz0puwCwAQgeLVDSFbgsQMAar3Vmzw5HIHF7Vatd+uoFRAJh/knb1j7F9UGnUT7XVzgYFOJ1eeAaBoMnDEQA==
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=2kIqEWLXw2PPYkjimWPHZ842Rwlv/0zOoJUIU7jI3oc=; b=GZXKEye8DJcxqnPd1X7LzmbswZFA61waNGFiFsZ2vd70aDpl6nds6w1gzStENVXmmxVmPdU4lGFpHgadyZlFpa8c9BmVb7k6oPmkxHH+jECoNNd42QNEssi9+/iJFP1+9Pf4IAHn+u/g1oPyj3sO0OQ8EGBrSOHWQgXcAaAua6xUw3CMbLNyObWeIQXPVhWwKiMT+dCMGAq4li5HDoIk9fSbvoQR6sHdqsIDubUT9r9ORKWlCBTWox6DZHLkef15VSsVpDMAAU8SqiWf1sRvwDuU4CeUVqY8HCTBPwdWn6YRqJx0oc3KmSnOUN9Wkuhpa6zfu5LS+tuxkrlS/OTh4g==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cisco.com; dmarc=pass action=none header.from=cisco.com; dkim=pass header.d=cisco.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.onmicrosoft.com; s=selector2-cisco-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2kIqEWLXw2PPYkjimWPHZ842Rwlv/0zOoJUIU7jI3oc=; b=lA0/CGzLeA/5wgkjzCYMJKjh2O0F/Py9lP6mfFPfLxhjJwntk7xNIGrfAMlB3UZObtZxn+ZsOtHWg1KuOFF6n3SJng197Dyc6WdE7haHSrkWjl6jp0jDx5snFcUhYhxqKkPtS3QX9DiA2Y4+wYC4ficv3lWQ5y9XmR2Y9A2/CCg=
Received: from BN6PR11MB1844.namprd11.prod.outlook.com (2603:10b6:404:103::20) by BN6PR1101MB2260.namprd11.prod.outlook.com (2603:10b6:405:53::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.13; Tue, 22 Sep 2020 13:45:05 +0000
Received: from BN6PR11MB1844.namprd11.prod.outlook.com ([fe80::d525:a81a:74e0:12e7]) by BN6PR11MB1844.namprd11.prod.outlook.com ([fe80::d525:a81a:74e0:12e7%12]) with mapi id 15.20.3412.020; Tue, 22 Sep 2020 13:45:05 +0000
From: "Eric Vyncke (evyncke)" <evyncke@cisco.com>
To: The IESG <iesg@ietf.org>, Mario Loffredo <mario.loffredo@iit.cnr.it>
CC: "regext-chairs@ietf.org" <regext-chairs@ietf.org>, "tomh@apnic.net" <tomh@apnic.net>, "regext@ietf.org" <regext@ietf.org>, "draft-ietf-regext-rdap-sorting-and-paging@ietf.org" <draft-ietf-regext-rdap-sorting-and-paging@ietf.org>
Thread-Topic: [regext] Éric Vyncke's No Objection on draft-ietf-regext-rdap-sorting-and-paging-16: (with COMMENT)
Thread-Index: AQHWjbwK7m9knMrkQ0+JqtB3QxljgaluijoAgAGfDhiABKnsgA==
Date: Tue, 22 Sep 2020 13:45:04 +0000
Message-ID: <4D4E9B47-369C-4FF4-8D4C-EE7145A15F4E@cisco.com>
References: <160043414369.27718.13984513177906805196@ietfa.amsl.com> <1554277d-b5b2-6c09-ff4b-6fc821b3ddec@iit.cnr.it> <BN6PR11MB1844FF7A123C446B198BFF20A93C0@BN6PR11MB1844.namprd11.prod.outlook.com>
In-Reply-To: <BN6PR11MB1844FF7A123C446B198BFF20A93C0@BN6PR11MB1844.namprd11.prod.outlook.com>
Accept-Language: fr-BE, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.41.20091302
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=cisco.com;
x-originating-ip: [2001:420:c0c1:36:7dde:e111:7537:6efb]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 0e1a0517-044f-40f6-84a9-08d85efdb64b
x-ms-traffictypediagnostic: BN6PR1101MB2260:
x-microsoft-antispam-prvs: <BN6PR1101MB2260E9D00DE009083E2F2459A93B0@BN6PR1101MB2260.namprd11.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: ikNEX7qQQH00Pgwi0NOwK5dGKydyQDZGSmFPUInziul8MPBMn1uzggw1xCKKVpFda3YO8x3wOymuQS4rAqgVPJQ9egWB3IqGAJGPV48ZaTAX1UTl917O/7QOfW62koQFUkM3oMmqMM8Hujt8bGZGdL5LuZ50LZ//C5LKqnc9DzeYRfBbgsnqg5a9gkZU84fkhQavIz2QzqUX/YA7VVjLQhB67DM0BGwvHUUpkYhxs98Sriflozo8E7ofgW3had3rkbSOe59x3psPFPg+IKHVyAjdg+W5YK9BaD1jD/i1MuFSiwAeyUF/VRVqB+GccQG2LvJHITcGHn6MSzJTDnTAhbMCv6ZzZsL9cPXJujkawvV3m4EjOigM0NUN0kVrUR6NmgvFqsipMaScLIpbOPq2ZA==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN6PR11MB1844.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(136003)(346002)(376002)(396003)(39860400002)(66446008)(64756008)(66556008)(6506007)(71200400001)(5660300002)(478600001)(8936002)(91956017)(76116006)(36756003)(186003)(86362001)(2616005)(83380400001)(4326008)(66476007)(66946007)(224303003)(33656002)(316002)(6486002)(2906002)(110136005)(166002)(54906003)(6512007); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: pV9HDCsKrKo/5+fiNpjh0UfKHn8XQ8qvHeaJecYK6RXrLH1rsjSj1SNjdr4rhI3ifBAYzZGl+WxxYCQLN8RWEeLlYikCalEMl16Q3htw/NRWL2boLviKVMNcRa9OG9+pQV5TM+Ma24hOfDSa1mQAM+TZ6W1SCPDfIWA9e4bcOcdeSCCkaXO2fTyeVPEIj1OzGcN+MpEy08n+rip6zS5tQLiVvECpiyo4ol6Has0WUkuSbkHAbpMb23R7nwI6WLvsVwvKkLAbgAJyqh5FwvlJOyZDE2pK7Q6j6HBPqo0QvhLrfNur18aze2U8u+UkmLCnEFsoc0mHo8IoRdpja6zVEdhC7ARIPHzArJYKzy1q+4ZM2qRbWpxGsKqgjVdkmt94WiEA415UbweCazz76zyHmNo/v8jH4xnAoWp+zYPE8sJMwoooL3e55Fkn0MSsffoSNQfYzNGOT97/N0BtihYBOfQqqw5LFb28h97SlpUk5OC6TaBXebAhoRcs2BjgZezcBUTm+ntxLkYpMuYUebwBdfyBnwn6g83DATGhOmIktSb/sKtkVyxN0sLHYv1pMRjSO3nvbpsJhX7VWZMIPawQws6Z/dteRJ/vufz4xKXKuxpjYak5cWO3HwRZNComUY4AnKbUaXur0U8/KwUckmUuas6nJkWvv/vLq1wGPAltfjv0sfBdZz+i14NfnjV1h7vI2JNmN7mQ62tnEGepDtF6FA==
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_4D4E9B47369C4FF48D4CEE7145A15F4Eciscocom_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: BN6PR11MB1844.namprd11.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 0e1a0517-044f-40f6-84a9-08d85efdb64b
X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Sep 2020 13:45:04.8675 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 5ae1af62-9505-4097-a69a-c1553ef7840e
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: hjKY+B37LggdY6/f5ePjfgFnv3toEX+VVvkcz3Hv9e2FeL9+uXuXgSQKvYLtOS1hOFyaxFGic0fwG1AHvQVpLg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR1101MB2260
X-OriginatorOrg: cisco.com
X-Outbound-SMTP-Client: 173.36.7.14, xch-aln-004.cisco.com
X-Outbound-Node: rcdn-core-4.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/regext/6P-rQwD_mH9frhXAVkLxbp59E_g>
Subject: Re: [regext] Éric Vyncke's No Objection on draft-ietf-regext-rdap-sorting-and-paging-16: (with COMMENT)
X-BeenThere: regext@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Registration Protocols Extensions <regext.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/regext>, <mailto:regext-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/regext/>
List-Post: <mailto:regext@ietf.org>
List-Help: <mailto:regext-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/regext>, <mailto:regext-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Sep 2020 13:45:15 -0000

Mario

It seems that I forgot to press SEND on this one ;-)

First thank you for your reply

Look for EV> below (I have removed a couple of parts where we are all in agreement)

-éric


Hi Eric,

thanks a lot for your review. Please find my comments inline.

Il 18/09/2020 15:02, Éric Vyncke via Datatracker ha scritto:
> Éric Vyncke has entered the following ballot position for
> -- Section 2.2 --
> I am concerned that a server having to compute "totalCount" (even if only to
> return the first 10 entries) may spend a lot of time computing this number in
> the absence of index... The security section does not offer a definitive answer
> to this issue IMHO. E.g., I would prefer to allow the server to refuse to serve
> "totalCount" until the last page (and even).

[ML] The count operator is optional so a server can support it or not.
Moreover, it's reasonable to expect that an RDAP server will rely on
some db indexes to efficiently perform searches no matter if it supports
counting or not.

EV> While I fully understand the use of totalCount (as explained below), the server should be able to refuse to serve this totalCount in the case of non-existing index. There are also indexes that are not really useful to count: e.g., in SQL ‘col LIKE “%foo%” will require a parsing of all rows.

The purpose of the count operator is just to enable users to immediately
know the size of the result set and, consequently, evaluate if the
result set is worthy to be scanned. Sometimes, the number of results is
itself considered a relevant information.

Lastly, there's no need to count the total number of results through a
query at each possible result set page because, in general,  it doesn't
change. Therefore, when an initial query includes the count operator two
strategies can be implemented:

- the server includes the totalCount value in the first page and doesn't
include the count operator in the possible pagination links so the
totalCount value is not displayed in the following pages;

- the server includes the totalCount value in the first page, encode it
in the cursor value and include the count operator in the possible
pagination links so that the totalCount value is passed from page to
page and always displayed.

In both cases, only one counting query is processed.

> -- Section 2.3 --
>
> I am concerned that a server having to sort on client-side selection of
> properties may have a huge performance impact in the absence of relevant DB
> indexes.The security section does not offer a definitive answer to this issue
> IMHO.
[ML] A server is not required to implement all and only the sorting
properties reported in the document. Obviously, an RDAP server is
expected to support only those sorting properties which are mapped onto
db indexed fields.

EV> I am afraid that while I was reading of the document, I failed to spot this specific list of properties as the bare minimum and having the possibility for the server to refuse to serve a filtering based on some properties.

>
> == NITS ==
>
> -- Section 2.2 --
> Should the URI be
> "https://example.com/rdap/domains?name=*example.com&count=true" (also
> applicable to section 2.3)
>
[ML] I'm not sure to catch your comment. count and sort are two optional
query parameters which can be used together or separately.

EV> simply to use the documentation/examples domains both in the host and in the query 😉