Re: [alto] Unified properties salient design points

Shenshen Chen <cs90911@gmail.com> Thu, 30 March 2017 19:34 UTC

Return-Path: <cs90911@gmail.com>
X-Original-To: alto@ietfa.amsl.com
Delivered-To: alto@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 61AC612778D; Thu, 30 Mar 2017 12:34:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.45
X-Spam-Level:
X-Spam-Status: No, score=-2.45 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 DqfvAxnWCKt6; Thu, 30 Mar 2017 12:34:45 -0700 (PDT)
Received: from mail-vk0-x22d.google.com (mail-vk0-x22d.google.com [IPv6:2607:f8b0:400c:c05::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4BD9C127077; Thu, 30 Mar 2017 12:34:45 -0700 (PDT)
Received: by mail-vk0-x22d.google.com with SMTP id z204so67359918vkd.1; Thu, 30 Mar 2017 12:34:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=LnnkadymyalpgswChqhIzpUWuLnvnRMuurANoV8mug8=; b=sxPhnAdwHgKRWZ3hMmEj+ACADXTtBpehlfAv5L9Y/fntYvUhGhx+1BDgS10SbAhuzk xrvgLvMkso0mMTBj7ReRMiC88r7rGWOcoYrAB/wwkpGAG4BsTzW8ArpiaFQLeUUpGuSq FyVZS2ad3Vr6daGLShzSaAvkj2NpBl4Z5oiggjCENqVFZtbDLqZeTpVzDYY5SeIaOuZ2 WbiktZh8nArH9XDr1fH67nnacyE+JoiE4R0xXWXDhXdqIzXV8iWTGiLbKRvrCa3wP0fX TPEF95w7ZrsiiC7nhx07ZFdIlmYiEkb4IuaKSX1heBuD2YNTjPuFzrptfI/mUMsdjYEa WNDg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=LnnkadymyalpgswChqhIzpUWuLnvnRMuurANoV8mug8=; b=TZdDqtoubR37zC2SiW0UqZlEBPEqqmpvyiq/XUsH46x35s8PDDjsxOLuF4Sw+VZrkL T3zBlGsLEJSTQmRy+IuMLXhFd2a5dNgurGevQ45SZJlMGbo0q6iW5D+d7x2aW9KiRipH HqyheNU5PF+bgFrbVr1E/tszAQHlFRioprZvvezhImagci3XqMF9ignKqc/rA1irtM1M zPGZkq9cbZQE98/tVv2YHUhhRCal+5+tMoU1zEQQa6fUdEGbyf0MbbCxAaRf4woz5Tfy SAnTkp1vb2pbVx6EFeECB82IH3/jXuXIgWGnr6raItmS4Z58GJ0/oQYyWepRnxpTjSkt SGKg==
X-Gm-Message-State: AFeK/H2C1as+jw5rhx5R/Ow818WLcr7u2mVtJt2wQURWaBmGubr4U2UWJqiBZkT6E2BDBVjobgxlXJNerWHi/g==
X-Received: by 10.176.24.141 with SMTP id t13mr801022uag.79.1490902484357; Thu, 30 Mar 2017 12:34:44 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.31.254.143 with HTTP; Thu, 30 Mar 2017 12:34:03 -0700 (PDT)
In-Reply-To: <CANUuoLrQvgLPH91Trts0-vTCaqStypW6AN3m+OXrrhX44cvD1A@mail.gmail.com>
References: <CANUuoLrQvgLPH91Trts0-vTCaqStypW6AN3m+OXrrhX44cvD1A@mail.gmail.com>
From: Shenshen Chen <cs90911@gmail.com>
Date: Fri, 31 Mar 2017 03:34:03 +0800
Message-ID: <CAKRjQSBVdfFYyEtiYHd53tLC0zawHFLcOi3ELwYErz1E+_MQ8g@mail.gmail.com>
To: "Y. Richard Yang" <yry@cs.yale.edu>
Cc: alto@ietf.org, draft-roome-alto-unified-props-new@ietf.org
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/alto/1CeeSO0NBev5U8d8_8uPd90_-ZU>
Subject: Re: [alto] Unified properties salient design points
X-BeenThere: alto@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Application-Layer Traffic Optimization \(alto\) WG mailing list" <alto.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/alto>, <mailto:alto-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/alto/>
List-Post: <mailto:alto@ietf.org>
List-Help: <mailto:alto-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/alto>, <mailto:alto-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 30 Mar 2017 19:34:47 -0000

Dear Richard and all,

I'd like to participate in the discussion and got some thoughts after
reading the previous discussion and
"draft-roome-alto-unified-props-new-00". Here they are:

IMHO Map and constraints solver (which contains linear/set constraints
for ALTO, e.g, le, eq, subset, superset) are some kind of silver
bullets for data-structure and algorithm respectively. Thus, about
"the powerful filtered property map" Tony just mentioned, I prefer the
solution a., which is similar to the general filter mentioned in
https://mailarchive.ietf.org/arch/msg/alto/TYmEmha7SvMaquS_BhXTBcCmZ5c.

In D3.3, per-query is definitely stateful, but per-resource may not.
The per-query could be considered as per-resource by specifying
property map (with different vtag) for each query. Determined by the
implementation, it's possible to use a generic prop-map for every
query which is stateless.

In D4, I think the set of entities belongs to an aggregation could be
considered as a kind of property. IP prefix implies a set of IPs in a
compact way, but others may not. ALTO provide the dependency based on
resource. The user can trace dependency on their on by querying such
property for an aggregation  (e.g., IP-prefixes for PID) and using it
as a constraint in "the powerful filtered property map".

Best Regards,
Shenshen