Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Hyperledger Sawtooth vs Quorum in concurrency and speed

Let's suppose I have 50 machines deployed in multiple locations, every machine has Linux as OS.

The machines have not a continued internet connection, for every 2h without connection, they have a 45min period of Wi-Fi connection.

During these 2h the machines are getting data through IoT sensors, stored locally in JSON.

When the 45min. internet connection arrives, the machines send the data into a cloud server for a posterior treatment.

The objective of this question is compare, in this concrete situation, the best DLT for assuring the reliability of the data sent to the Cloud server through multiple concurrent machines.

Thank you very much in advance, and happy new year.

like image 259
Across Avatar asked Jan 03 '18 18:01

Across


People also ask

What is the most common consensus algorithm for Hyperledger Sawtooth?

Sawtooth consensus algorithms The most traditional one is the Sakamoto Consensus Algorithm [2] that was designed to overcome the limits of the Byzantine Fault Tolerant (BFT) Consensus. Hyperledger Sawtooth provides three different consensus mechanisms: PoET, PBFT, and Raft.

What is the difference between Hyperledger Sawtooth and fabric?

First of all, the permission level in Hyperledger Sawtooth vs Hyperledger Fabric has a massive difference. In reality, Sawtooth supports both permissioned and permissionless network systems. So, there is no restriction there. On the other hand, Hyperledger Fabric architecture only offers permissioned blockchain access.

Is Hyperledger Sawtooth a private blockchain?

Key Takeaways. Hyperledger Sawtooth is an open source enterprise blockchain-as-a-service platform that can run customized smart contracts without needing to know the underlying design of the core system.

Is Hyperledger Sawtooth is a modular enterprise blockchain platform?

Hyperledger Sawtooth is an open-source project under the hyper ledger umbrella. It is a modular enterprise blockchain platform which is used for building distributed ledger networks and applications.


1 Answers

Summary: Both should provide similar reliability of data. Sawtooth may more easily manage the volatility of the network addressing. In your situation the utility of a DLT is unclear.

Details: Hyperledger Sawtooth uses a Merkle Radix Tree to enforce state agreement. That means that when transactions are exchanged amongst those nodes, each node will check if it has reached the same internal database state as the other nodes. See https://sawtooth.hyperledger.org/docs/core/releases/latest/architecture/global_state.html

Quorum as a Go Ethereum fork has a similar mechanism. However that trie is split to represent public ethereum network state and whatever private state is being managed on the side chain.

According to Quorum's docs the endpoints must be known apriori. That may be difficult for your proposed network if the IP addresses change when the nodes gain and lose connectivity. https://github.com/jpmorganchase/quorum/wiki/Quorum-Overview

This will also be difficult for Sawtooth if all the addresses change. If at least one node remains consistent then the topology can be rebuilt dynamically. Sawtooth includes different protocol options including dynamic peer discovery.

https://sawtooth.hyperledger.org/docs/core/releases/latest/architecture/validator_network.html#peer-discovery

If I'm interpreting your use case correctly, you are suggesting that blockchain nodes would feed their independent views of data into a centralized server. This would not be a good fit for blockchain.

The idea with blockchain is each of those independent nodes would gossip the transactions it has received to the other nodes so that ultimately they all have the same view of data.

like image 182
Dan Avatar answered Sep 26 '22 03:09

Dan