[alto] Reviews of draft-hommes-alto-blockchain-02

xin wang <xinwang2014@hotmail.com> Tue, 27 June 2017 00:58 UTC

Return-Path: <xinwang2014@hotmail.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 4D4F012741D; Mon, 26 Jun 2017 17:58:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.875
X-Spam-Level:
X-Spam-Status: No, score=-0.875 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FORGED_HOTMAIL_RCVD2=0.874, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=hotmail.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 qlcOOrt1AtOL; Mon, 26 Jun 2017 17:58:03 -0700 (PDT)
Received: from APC01-HK2-obe.outbound.protection.outlook.com (mail-oln040092255058.outbound.protection.outlook.com [40.92.255.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 49FA3126CC4; Mon, 26 Jun 2017 17:57:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=6wPeSmXgMSKLxPUuSj8KdEgMx3nz+7PsHO4P133b1Rk=; b=Lga4fR0eB13XVQ1JP9u5RjDQ+/no/dpo/ufLafOxiIrVjjKJWy7es4CiuE2qwsyuenxhpTFKx4eilmeaMFBQl8dh0PNeuZe4udYCu/AukJYIKZgczQ2fVXfhC9kL6R4ordbz3ehZ849IS1SvfXLMgPIKuyPxGDz80kS1egKpNgfAsDaSVP3jdmWnlOIN7XXHPrWBJ3z9mDCH1d4IyL7VQLM64sa620eQloRntJPw+W7q1ely/sOQxJWKD0DT86V4KG2wSIz/2sui15eLPtIMVfUtD1JSClV7boMT23g658qxBa6s8KzvjRUsXXEN2CPOGj+nI/HKwEs5wLNZ6XKDKw==
Received: from PU1APC01FT043.eop-APC01.prod.protection.outlook.com (10.152.252.55) by PU1APC01HT144.eop-APC01.prod.protection.outlook.com (10.152.253.254) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.1157.12; Tue, 27 Jun 2017 00:57:56 +0000
Received: from PS1PR0302MB2457.apcprd03.prod.outlook.com (10.152.252.53) by PU1APC01FT043.mail.protection.outlook.com (10.152.253.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1199.9 via Frontend Transport; Tue, 27 Jun 2017 00:57:56 +0000
Received: from PS1PR0302MB2457.apcprd03.prod.outlook.com ([fe80::290a:8d10:d903:ff49]) by PS1PR0302MB2457.apcprd03.prod.outlook.com ([fe80::290a:8d10:d903:ff49%18]) with mapi id 15.01.1220.010; Tue, 27 Jun 2017 00:57:56 +0000
From: xin wang <xinwang2014@hotmail.com>
To: "draft-hommes-alto-blockchain@ietf.org" <draft-hommes-alto-blockchain@ietf.org>, IETF ALTO <alto@ietf.org>
Thread-Topic: Reviews of draft-hommes-alto-blockchain-02
Thread-Index: AQHS7t/7n3mw2eKah0eGdsf8ZfLn8A==
Date: Tue, 27 Jun 2017 00:57:56 +0000
Message-ID: <PS1PR0302MB2457B4B4982453997C6E13FDA8DC0@PS1PR0302MB2457.apcprd03.prod.outlook.com>
Accept-Language: en-US, zh-CN
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=hotmail.com;
x-incomingtopheadermarker: OriginalChecksum:D904A9863F386670199B6B4AF54CCED8632357B1C49861F70BF4A10C08EBE301; UpperCasedChecksum:F517283CE4298FED328FE950868B0763525E5B4668C1938F7FA91F422299350E; SizeAsReceived:7183; Count:43
x-ms-exchange-messagesentrepresentingtype: 1
x-tmn: [RvgbN9NF6AXh4aRoTXL3OhMyorO7ngYnHToz3Gtewdk=]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; PU1APC01HT144; 7:DB+wSrIqWqpqtDLzVL6dqJYCYTvDXKsa0fcTpRbFH4RsKjGAo3Tp0NuEob0XlzxDKXSlVuDuufLFEBr92uivF+5Tb4VX3VqQC0XtCry5Dz6EC0VphDiplgwHGARR/XppZDmHtZJjMClur+taULD25ix1WU7QWzAG2MioxP1jJiW1MpE98i/nIoaAM406H1JDOR1ript5gRwdM8fXU50vrRVmoJvy+RZwZJ++PJvs+CCG5B5NZlNP5Tror/HrQtE7ZZ8dFxtPe8fSIbeCas2wabFuO/DkTIYEl7YCmu/zE1E9DLWQyy/BfLGjfYVw/WHq/Iq4UlmBRGIv1hfHTtJMGlvWQKrWg50lCG0M/R7jy7vKg02ez0tk7pgKyM+rD+E4Q13DmiVHVyikLARI16oFpHBvFPhinWW2/xRrLpIw+EWbOjxolGHNiuOYYewUmvvm5BxItuIuXlIj4pRDlXSzHkxsBF9KRyujK8dVNiznQLST0hJmrSknyrC0XG5sb122SRmJ37GNxvv6cLLqiiD7Qzpvr77l/4ACynuOjDhYJXwIDjaLosLkI7vgKXfrD/jwxK9tfOU5LG3ercAebpD12FckCLVCuysVHhdm4tJc5L7iZpcAT6pH7h5aMqvHgR4yxre2u3OKg/a8u71FUOmJ3P8DWVvARCQFjcOa7mDKgqhbOv7vuv5lSeF0nxPu0rNUy5XGYtVWg16FwULPHCyeCRqOm6x4hyPTjOWZP42zMf+Xg9bqKfj5g55d87TfWf8ZKmYGgD/2CWSL1IKLrpv6Uw==
x-incomingheadercount: 43
x-eopattributedmessage: 0
x-forefront-antispam-report: EFV:NLI; SFV:NSPM; SFS:(7070007)(98901004); DIR:OUT; SFP:1901; SCL:1; SRVR:PU1APC01HT144; H:PS1PR0302MB2457.apcprd03.prod.outlook.com; FPR:; SPF:None; LANG:en;
x-ms-traffictypediagnostic: PU1APC01HT144:
x-ms-office365-filtering-correlation-id: 845839bd-6d3a-488b-e39a-08d4bcf78c62
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(300000503095)(300135400095)(201702061074)(5061506573)(5061507331)(1603103135)(2017031320274)(2017031324274)(2017031323274)(2017031322274)(1603101448)(1601125374)(1701031045)(300000504095)(300135200095)(300000505095)(300135600095); SRVR:PU1APC01HT144;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(444000031); SRVR:PU1APC01HT144; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:PU1APC01HT144;
x-forefront-prvs: 0351D213B3
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_PS1PR0302MB2457B4B4982453997C6E13FDA8DC0PS1PR0302MB2457_"
MIME-Version: 1.0
X-OriginatorOrg: hotmail.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jun 2017 00:57:56.3366 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Internet
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PU1APC01HT144
Archived-At: <https://mailarchive.ietf.org/arch/msg/alto/asDIZ89w7ksxjcHoZLUP8XNx-ec>
Subject: [alto] Reviews of draft-hommes-alto-blockchain-02
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: Tue, 27 Jun 2017 00:58:05 -0000

Dear authors of "ALTO for the blockchain",


Your draft about using ALTO to improve the communication in a blockchain network looks very practical and interesting. It would be grateful to deploy ALTO in a blockchain network. The following is a review of the draft:


a. Fixed peer relationship or not?


The broadcasting mechanism in a blockchain network needs a node to broadcast transactions/blocks in the network, and the goal is to minimize the information propagation time. The broadcast mechanism depends on peer relationship between nodes to transfer information. Then, ALTO can help with the peer selection process which decides peer relationship based on communication performance obtained from an ALTO server. From the section 3, I assume the peer selection happens at the very beginning when a node joins a blockchain network. Therefore, the peer relationship should be fixed if there is no failure. Then, one question would be that is it possible to change the peer relationship as the system running to get a better communication performance? Here is a draft about ALTO incremental updating (https://datatracker.ietf.org/doc/draft-ietf-alto-incr-update-sse/

draft-ietf-alto-incr-update-sse-05 - ALTO Incremental ...<https://datatracker.ietf.org/doc/draft-ietf-alto-incr-update-sse/>
datatracker.ietf.org
ALTO Incremental Updates Using Server-Sent Events (SSE) (Internet-Draft, 2017)



) which can be used to get updated values from ALTO server.


b. Centralized peer selection or not?


The draft describes two frameworks where an ALTO client can be embedded into: the Resource Directory and a blockchain node. From my thinking, the resource directory framework really provides a centralized view of a blockchain network, which is able to get the optimal solution for the peer selection. However, if an ALTO client is embedded into a blockchain node, then each node can only make a selection based on information of the neighboring of the node, which may not be able to be optimal.


c. Cost map service and ECS in two frameworks


Another comment about the two frameworks is that you are trying to apply the cost map service for the Resource Directory and Endpoint Cost Service (ECS) for public blockchains respectively. It might be true that requesting a cost map could reduce the information exposure about the topology, but I recommend you for another draft about Routing State Abstraction (https://datatracker.ietf.org/doc/draft-gao-alto-routing-state-abstraction/

draft-gao-alto-routing-state-abstraction-03 - ALTO ...<https://datatracker.ietf.org/doc/draft-gao-alto-routing-state-abstraction/>
datatracker.ietf.org
ALTO Extension: A Routing State Abstraction Service Using Declarative Equivalence (Internet-Draft, 2017)



) which aims to provide an abstract topology against a raw topology. For public blockchains, I am not sure your choice to use ECS instead of a cost map is better for the large number of peers in the network.


And here are some typos you may fix:


Page 5: e.i. -> i.e.


Page 6: occur -> occurs, send -> sent



Best,

Xin