Re: [Anima] Fwd: I-D Action: draft-carpenter-anima-grasp-bulk-00.txt

Brian E Carpenter <brian.e.carpenter@gmail.com> Tue, 12 September 2017 04:56 UTC

Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: anima@ietfa.amsl.com
Delivered-To: anima@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1467813208E for <anima@ietfa.amsl.com>; Mon, 11 Sep 2017 21:56:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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 KoIHrD7T6pTN for <anima@ietfa.amsl.com>; Mon, 11 Sep 2017 21:56:19 -0700 (PDT)
Received: from mail-it0-x230.google.com (mail-it0-x230.google.com [IPv6:2607:f8b0:4001:c0b::230]) (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 7A5DE132195 for <anima@ietf.org>; Mon, 11 Sep 2017 21:56:18 -0700 (PDT)
Received: by mail-it0-x230.google.com with SMTP id 6so20187879itl.1 for <anima@ietf.org>; Mon, 11 Sep 2017 21:56:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:organization:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=F3K1CFxZhSiDRNN0P+kEUctriEn2lKeyo5uD3SLqiiM=; b=BRvD36x/kFEbQru/g3YI6qZh8J3eDgCQmBHHwNI+k/7GWW+La72GCjiDbbozRR3V7S mPEbZZwiqBOVdOV6enKovZaOP+hGtIEPVpnP1PwKDJlUVmB++D5J3gLAAzfHTlPly3zS r3Om1e/bVcOMTeFgzd4jEvi21UPp2ELwnoneKV7+lfeX6e1hJr2lJREbkxqxYSoN220A 8SECxICZ3RqNtr1rxRL38uVATJOTtLBuZuRgg4nPX5U7X++v0svTxT4uCmBNulKJ2IKn 0fCb6VBGuNy32SwoVN+rTJsP1sVJdB+1GdLX3cWANXX4BGLCD1BYEfIeZ10dgAOHpbo3 reNg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=F3K1CFxZhSiDRNN0P+kEUctriEn2lKeyo5uD3SLqiiM=; b=sbhNSKJddEoG3QT7t9ep+QmFaML4+tnGeZPlIgANiK3gw917Tx+mRFpy3nOxSJNF/z i+36x92vi08MJVxecx1/prw4OhlWQnEc80SBa39A9mQo2tt9oiL8+UtIvSxp3jFv4/f6 jHZpDCbIZdYAsNYkDN3uHepJeOdYSuvOoZQjrHTPQnu5dZLAtt2OFds3JiE0wI32GHzm mLQptuSgT0dSP/ACg5fwlcb16mLht2H5cqv4aqoIqE0bSQihR9ycuxdfQnanm0Mhn6oB xQpBnV8JLCvnXT2Gt0e+m4tkiL55m68W5+DQI6uDr5igaPUGfw/31OqRUKIrf0Yzh8oa 62rA==
X-Gm-Message-State: AHPjjUi1cFx7SosVsIbSu7rGzsyyGPq+LKSHK+XDhEgPEARrm121d5hA sHP+m750sxrPVsIOUQlvKh2V3Q==
X-Google-Smtp-Source: ADKCNb7PagRDWT2EW78I4shB1zHxy5mUxEdtR/VSmuYTaP/y6o/kehVsIlc/byaNpvL4nEa5QRg6fQ==
X-Received: by 10.36.185.88 with SMTP id k24mr16474746iti.71.1505192177435; Mon, 11 Sep 2017 21:56:17 -0700 (PDT)
Received: from ?IPv6:2406:e007:57a7:1:28cc:dc4c:9703:6781? ([2406:e007:57a7:1:28cc:dc4c:9703:6781]) by smtp.gmail.com with ESMTPSA id o71sm5899546itb.15.2017.09.11.21.56.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Sep 2017 21:56:16 -0700 (PDT)
To: "Joel M. Halpern" <jmh@joelhalpern.com>, Anima WG <anima@ietf.org>
References: <150517994829.4728.308177286707996361@ietfa.amsl.com> <86ef1c42-af4b-e1dd-52e7-a3586490ebff@gmail.com> <d0966b91-e76d-e2ba-ae6b-b83ca7b08f07@joelhalpern.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
Message-ID: <174cd4ab-eb2c-08ea-2573-57635303b167@gmail.com>
Date: Tue, 12 Sep 2017 16:56:14 +1200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0
MIME-Version: 1.0
In-Reply-To: <d0966b91-e76d-e2ba-ae6b-b83ca7b08f07@joelhalpern.com>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/kJCmohCX5QkdRg6HGAKA45lLvfw>
Subject: Re: [Anima] Fwd: I-D Action: draft-carpenter-anima-grasp-bulk-00.txt
X-BeenThere: anima@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Autonomic Networking Integrated Model and Approach <anima.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/anima>, <mailto:anima-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/anima/>
List-Post: <mailto:anima@ietf.org>
List-Help: <mailto:anima-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/anima>, <mailto:anima-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 12 Sep 2017 04:56:21 -0000

Hi Joel, thanks for the rapid comments. More in-line:

On 12/09/2017 15:17, Joel M. Halpern wrote:
> Given our experience with file transfers, several things seem to be 
> called for:
> 
> 1) There should be a mechanism for the sender to initiate.  Several of 
> the use cases you cite are such that the sender would better than the 
> receiver when it is a good time to send the data.

Yes, certainly. That's behind the mention that the mechanism could
be turned round for upload. Maybe it would be better to call it
push and pull, since ANIMA does not assume a hierarchy.

> 2) I realize that it does not fit the pattern, but without some sort of 
> position indication, this seems very fragile.  I think you need to come 
> up with a way to indicate the position.

It wouldn't be hard to add a block number, both for the sending side
and the acknowledgements. But then it would be very tempting to also add
a retransmission mechanism, and look, we've re-invented the wheel. So
we just have to decide where to stop in complexity.

> 3) Unless we want to restrict this to very local environments, we really 
> should have a way to resume a failed transfer at the failure point, 
> rather than  start from teh beginning.

Ditto. To be honest I had to stop myself adding such mechanisms, when writing
a quick prototype.
 > In particular, without these features, the justification for using GRASP 
> rather than a better transfer protocol over the ANIMA infrastructure 
> becomes very weak.

Well, there we might disagree. Or at least, that is the question of scope.
What do we want to assume is already installed on an autonomic node? If it's
a fully-featured host or host-like device, I would expect some existing
mechanism to be available. If it's a bare-bones device, maybe not. But in that
case, we'd want a GRASP-based mechanism to be bare-bones too*. We'd be interested
in WG opinions about this.

*Just to scale it, the client side that corresponds to the example
in the draft is about 110 lines of Python.

Thanks
   Brian

> 
> Yours,
> Joel
> 
> On 9/11/17 9:41 PM, Brian E Carpenter wrote:
>> Comments welcomed!
>>
>> -------- Forwarded Message --------
>> Subject: I-D Action: draft-carpenter-anima-grasp-bulk-00.txt
>> Date: Mon, 11 Sep 2017 18:32:28 -0700
>> From: internet-drafts@ietf.org
>> Reply-To: internet-drafts@ietf.org
>> To: i-d-announce@ietf.org
>>
>>
>> A New Internet-Draft is available from the on-line Internet-Drafts directories.
>>
>>
>>          Title           : Transferring Bulk Data over the GeneRic Autonomic Signaling Protocol (GRASP)
>>          Authors         : Brian Carpenter
>>                            Sheng Jiang
>>                            Bing Liu
>> 	Filename        : draft-carpenter-anima-grasp-bulk-00.txt
>> 	Pages           : 10
>> 	Date            : 2017-09-11
>>
>> Abstract:
>>     This document describes how bulk data may be transferred between
>>     Autonomic Service Agents via the GeneRic Autonomic Signaling Protocol
>>     (GRASP).
>>
>>
>> The IETF datatracker status page for this draft is:
>> https://datatracker.ietf.org/doc/draft-carpenter-anima-grasp-bulk/
>>
>> There are also htmlized versions available at:
>> https://tools.ietf.org/html/draft-carpenter-anima-grasp-bulk-00
>> https://datatracker.ietf.org/doc/html/draft-carpenter-anima-grasp-bulk-00
>>
>>
>> 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.
>>
>> Internet-Drafts are also available by anonymous FTP at:
>> ftp://ftp.ietf.org/internet-drafts/
>>
>> _______________________________________________
>> I-D-Announce mailing list
>> I-D-Announce@ietf.org
>> https://www.ietf.org/mailman/listinfo/i-d-announce
>> Internet-Draft directories: http://www.ietf.org/shadow.html
>> or ftp://ftp.ietf.org/ietf/1shadow-sites.txt
>>
>> _______________________________________________
>> Anima mailing list
>> Anima@ietf.org
>> https://www.ietf.org/mailman/listinfo/anima
>>
>