[i2rs] Comments on draft-clarke-i2rs-traceability-03

Ignas Bagdonas <ibagdona.ietf@gmail.com> Tue, 09 December 2014 22:39 UTC

Return-Path: <ibagdona.ietf@gmail.com>
X-Original-To: i2rs@ietfa.amsl.com
Delivered-To: i2rs@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7DD731A1B72 for <i2rs@ietfa.amsl.com>; Tue, 9 Dec 2014 14:39:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 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, SPF_PASS=-0.001] autolearn=ham
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 lvmxhwO3xNBo for <i2rs@ietfa.amsl.com>; Tue, 9 Dec 2014 14:39:16 -0800 (PST)
Received: from mail-wi0-x22b.google.com (mail-wi0-x22b.google.com [IPv6:2a00:1450:400c:c05::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7DC111A1A46 for <i2rs@ietf.org>; Tue, 9 Dec 2014 14:39:16 -0800 (PST)
Received: by mail-wi0-f171.google.com with SMTP id bs8so9442939wib.16 for <i2rs@ietf.org>; Tue, 09 Dec 2014 14:39:15 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding; bh=R1sx3GaKFN1o0YW435xCJXzoo7W5b+ljXDr5je91dhs=; b=WEDUejRJZFmPB6fFRpqrviVAlVgoKpBWQ8uuIcTIFRzyLBf1apkiBVn6POMkqDQWqa GuHQVzCywTNW1jV2Fe7V/sUTIqla3+Xgw9RtV6Omz3wemuE7BHFgetvybhKVdE69GMt5 m60jzJdkCqrNzHpJ+2sdcWPc2UVpj+Eh/iAhuzovb80PtU3Rxi5HDe77x5urSK6QeooL xvNcC8D8ebSfefMRAKH81MhK3Upt4RwwLFcg8pcHa/tIvSnaZprPbX/78qXWj6ApgPbq tJvRWrgOU4bzloYM6IsXfYt1apDsr0e4wKJjQaeKEuf+Nrgc8oRJogoiEs8hz62jO25s oX4A==
X-Received: by 10.180.105.131 with SMTP id gm3mr1218158wib.34.1418164755370; Tue, 09 Dec 2014 14:39:15 -0800 (PST)
Received: from [192.168.101.3] (host86-179-141-46.range86-179.btcentralplus.com. [86.179.141.46]) by mx.google.com with ESMTPSA id n8sm3533987wjx.0.2014.12.09.14.39.14 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 09 Dec 2014 14:39:14 -0800 (PST)
Message-ID: <54877A12.1030904@gmail.com>
Date: Tue, 09 Dec 2014 22:39:14 +0000
From: Ignas Bagdonas <ibagdona.ietf@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: draft-clarke-i2rs-traceability@tools.ietf.org
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/i2rs/e1oR9DCvm5lNXuMex0QyCdtdjlk
Cc: i2rs@ietf.org
Subject: [i2rs] Comments on draft-clarke-i2rs-traceability-03
X-BeenThere: i2rs@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "Interface to The Internet Routing System \(IRS\)" <i2rs.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/i2rs>, <mailto:i2rs-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/i2rs/>
List-Post: <mailto:i2rs@ietf.org>
List-Help: <mailto:i2rs-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/i2rs>, <mailto:i2rs-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 09 Dec 2014 22:39:18 -0000

Dear authors,

Some assorted comments on draft-clarke-i2rs-traceability-03.


NULL string value may be a valid parameter or return value and that 
should be differentiated from no value present at all.

Asynchronous, long running, blocking operations. Client request may not 
always be processed synchronously or within a bounded amount of time. To 
keep Operation and Result Code values in the same record may require 
buffering the trace log entries, and that may result in additional 
resource load on the agent and network element.

Blocking on traceability information export. Traceability information 
export is a valuable diagnostics tool, but that is not the main function 
of the I2RS agent, and network element as such. Possible blocking of 
traceability component should not block the operation of the agent.

Temporary on-element traceability data storage requirements. Related to 
the blocking point above and depending on many implementation aspects it 
may be more practical to store the traceability data and export/buffer 
it periodically than to do it synchronously with the requests. In such 
case the amount of resources required for such temporary storage must 
not interfere with normal operation of the agent itself.

Intermixed operations. I2RS agent may respond to incoming requests 
non-sequentially, different operations may take different amount of time 
required for completion. Batching of traceability data export would need 
to account for a possibility of signaled operation still being processed 
at the time of export.

Timestamp granularity. RFC3339 defines subsecond granularity in 
timestamps but leaves the granularity of it aside. While this is highly 
implementation dependent, the nature of multiple and rapid operations 
would tend to ask for a recommended minimum granularity of trace records 
to be specified. While not enforcing, it could be recommended to support 
UNIX style 32.32 bit second.microsecond or 64 bit nanosecond timestamp 
granularity represented in RFC3339 format.

Section 7.1 - transactions. The term 'transaction' in this paragraph 
seems to describe the internal machinery of the agent that will likely 
be dependent on many implementation factors and possibly not having much 
meaning outside the context of such implementation if exported via the 
traceability mechanism. The I2RS operation level transactions typically 
would be controlled by the Actor and/or Client, and would not be visible 
to the Agent. Could you clarify the meaning of the transaction term as 
used in this context?

More-trace-logs-follow marker. An operation may return in multiple 
(sub-)results, possibly spread over a longer period of time compared to 
request processing and initial trace entry generation. A mechanism for 
recording into trace log that more output will follow at some later time 
would be useful.

Request/response traceability split, sub-response identifiers. A single 
request operation may result in more than one actual operation performed 
and more than one response being returned. Supporting such trace records 
would need to have a request and response correlation identifiers and 
ability to identify multiple responses.


Ignas