Re: [Din] Hyperledger evaluation on a mesh network

Leandro Navarro <leandro@ac.upc.edu> Wed, 04 April 2018 23:09 UTC

Return-Path: <leandro@ac.upc.edu>
X-Original-To: din@ietfa.amsl.com
Delivered-To: din@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A10AE126FB3 for <din@ietfa.amsl.com>; Wed, 4 Apr 2018 16:09:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 LnfG88ZSpZhU for <din@ietfa.amsl.com>; Wed, 4 Apr 2018 16:09:14 -0700 (PDT)
Received: from roura.ac.upc.es (roura.ac.upc.es [147.83.33.10]) by ietfa.amsl.com (Postfix) with ESMTP id 6E92812D86C for <din@irtf.org>; Wed, 4 Apr 2018 16:09:11 -0700 (PDT)
Received: from correu-1.ac.upc.es (correu-1.ac.upc.es [147.83.30.91]) by roura.ac.upc.es (8.13.8/8.13.8) with ESMTP id w34N8xdB025816; Thu, 5 Apr 2018 01:08:59 +0200
Received: from user-32-244.vpn.net.private.cam.ac.uk (global-184-3.nat-1.net.cam.ac.uk [131.111.184.3]) by correu-1.ac.upc.es (Postfix) with ESMTPSA id 596187C4; Thu, 5 Apr 2018 01:08:52 +0200 (CEST)
From: Leandro Navarro <leandro@ac.upc.edu>
Message-Id: <DC5D2E36-D054-439E-83A6-05AC4DF9AB75@ac.upc.edu>
Content-Type: multipart/alternative; boundary="Apple-Mail=_67C851D4-9439-44AB-BE9C-3DADFB98917C"
Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\))
Date: Thu, 05 Apr 2018 01:08:49 +0200
In-Reply-To: <1522857502.1313779.1326451800.352B185C@webmail.messagingengine.com>
Cc: Jon Crowcroft <jon.crowcroft@cl.cam.ac.uk>, din@irtf.org
To: Jehan Tremback <jehan@altheamesh.com>
References: <CAPaG1AnJjDQh4N+kiT-QhgiFyNwi69TM74jcYFx6xQiwPXB+EQ@mail.gmail.com> <1522807761.2691505.1325710912.72C042EF@webmail.messagingengine.com> <CAEeTejK71xdhXYowRS+fh=Ni-4dusbAui9h9BJ3K-n-8TTAPOg@mail.gmail.com> <1522857502.1313779.1326451800.352B185C@webmail.messagingengine.com>
X-Mailer: Apple Mail (2.3445.5.20)
Archived-At: <https://mailarchive.ietf.org/arch/msg/din/3TI8CrRphrog1yYkeDeDMThAZEc>
Subject: Re: [Din] Hyperledger evaluation on a mesh network
X-BeenThere: din@irtf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Discussion of distributed Internet Infrastructure approaches, aspects such as Service Federation, and underlying technologies" <din.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/din>, <mailto:din-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/din/>
List-Post: <mailto:din@irtf.org>
List-Help: <mailto:din-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/din>, <mailto:din-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Apr 2018 23:09:18 -0000

The paper that Arjuna shared looks to the general topic of this WG “Decentralized Internet Infrastructure”, with an evaluation of the Hyperledger framework when running on a edge scenario of small Debian servers spread in a mesh network (not in the routers), instead of a typical data center env.

> On 4 Apr 2018, at 17:58, Jehan Tremback <jehan@altheamesh.com> wrote:
> 
> Even simpler, by adding a monetary price metric to a distance vector protocol (we are currently testing this in production). Skimming your paper, it looks like you are thinking along the same lines.

Simpler but not too simple regarding pricing. Jon’s paper looked in 2010 at pricing related to congestion, fairness, incentives for cooperation, sending rates in flows and overall stability in a local mobile ad-hoc net. Still relevant work 8 years later.

> Back to the Arjuna's post, the use of a blockchain implies that there is some value to having an immutable transaction ordering mechanism. In our protocol we conceptualize these ordered transactions as "payments", while in Arjuna's paper the actual use of this transaction ordering is left unspecified. 

… not an objetive of that research paper (evaluation of Hyperledger) != whitepaper.

> Running the transaction ordering consensus protocol on the network nodes themselves seems like a bad idea.

> These nodes have more of an incentive to mess with the ordering than some faraway validators who know nothing about the specific application and are only incentivized to order transactions correctly. Also, the fact that there are always going to be many fewer validators available on a local network means that the consensus pool is smaller and more vulnerable to manipulation.

Hyperledger has strong limitations when running in small servers, let’s forget about routers, but just relying on remote servers for local transactions can have drawbacks too.

> I say, leave the transaction ordering to a global network of validators who specialize in transaction ordering and leave the networking to network hardware equipped with light clients. With Althea, we are able to run everything on commodity routers on OpenWRT

Thanks for your comments, Leandro.

> .
> 
> --
>   Jehan Tremback
>   jehan@altheamesh.com <mailto:jehan@altheamesh.com>
> 
> 
> 
> On Wed, Apr 4, 2018, at 1:04 AM, Jon Crowcroft wrote:
>> or a much simpler approach:
>> https://hal.inria.fr/inria-00466747/document <https://hal.inria.fr/inria-00466747/document>
>> 
>> On Wed, Apr 4, 2018 at 3:09 AM, Jehan Tremback <jehan@altheamesh.com <mailto:jehan@altheamesh.com>> wrote:
>> 
>> Why run full nodes on your networking hardware? One could achieve the same security characteristics (or better) by simply using light clients of a public blockchain on the networking hardware. 
>> 
>> --
>>   Jehan Tremback
>>   jehan@altheamesh.com <mailto:jehan@altheamesh.com>
>> 
>> 
>> 
>> On Tue, Apr 3, 2018, at 4:44 AM, Arjuna Sathiaseelan wrote:
>>> we recently did an evaluation of the hyperledger fabric in a community wireless network within the famous guifi.net <http://guifi.net/>..
>>> 
>>> will be of interest https://arxiv.org/pdf/1804.00561.pdf <https://arxiv.org/pdf/1804.00561.pdf>
>>> 
>>> Regards
>>> 
>>> -- 
>>> 
>>> Arjuna Sathiaseelan
>>> University of Cambridge | Ammbr Research Labs
>>> Personal: http://www.cl.cam.ac.uk/~as2330/ <http://www.cl.cam.ac.uk/~as2330/>
>>> N4D Lab: http://www.cl.cam.ac.uk/~as2330/n4d <http://www.cl.cam.ac.uk/~as2330/n4d>
>>> _______________________________________________
>>> Din mailing list
>>> Din@irtf.org <mailto:Din@irtf.org>
>>> https://www.irtf.org/mailman/listinfo/din <https://www.irtf.org/mailman/listinfo/din>
>> 
>> 
>> _______________________________________________
>> Din mailing list
>> Din@irtf.org <mailto:Din@irtf.org>
>> https://www.irtf.org/mailman/listinfo/din <https://www.irtf.org/mailman/listinfo/din>
>> 
> 
> _______________________________________________
> Din mailing list
> Din@irtf.org
> https://www.irtf.org/mailman/listinfo/din

--
Leandro Navarro
http://people.ac.upc.edu/leandro	 http://dsg.ac.upc.edu