Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Limit of number of nodes in Hyperledger

In Hyperledger-fabric blockchain, is there a limit to the number of nodes participating in a network? If yes, how many nodes can be in a network?

like image 932
Gorrut Avatar asked Jan 16 '17 13:01

Gorrut


People also ask

How many nodes does Hyperledger have?

There are three types of nodes: Client or submitting-client: a client that submits an actual transaction-invocation to the endorsers, and broadcasts transaction-proposals to the ordering service.

How many transactions can Hyperledger handle?

Hyperledger Fabric processes up to 3,000 transactions per second (tps) that can be scaled up to 20,000 tps with some pluggable modules [9] . In addition, Hyperledger Fabric supports different languages to implement smart contracts, such as Java, Golang, and JavaScript. ...

What is besu node?

You can use Besu nodes for varying purposes, as described in the Overview. Nodes can connect to the Ethereum Mainnet, public testnets such as Ropsten, or private networks. Use the besu command with the required command line options to start a node.

How many types of peers does Hyperledger fabric have?

Types of Peers There are 2 types of leaders can be set up within an organization, Dynamic Leader — Other peers in the organization select the leader peer on run time, so in this case, any peer can receive the new block from the orderer.


2 Answers

To get the complete functionality of blockchain(consensus mechanism, hyperledger fabric uses PBFT consensus which means it will accept any transaction to be valid if more than 66% of the nodes are up and running.

In short more than 66% of nodes must be up and must validate the order to requests in Hyperledger farbic.

Both the Starter Developer plan and the High Security Business Network plan enable you to test the Practical Byzantine Fault Tolerance (PBFT) consensus protocol on a four-node blockchain network

Consensus is a method for validating the order of requests, or transactions (deploy and invoke), on a blockchain network. The correct ordering of transactions is critical, because many transactions have a dependency on one or more prior transactions (account debits often have a dependency on prior credits, for example).

The network can tolerate no more than one Byzantine node. Each network contains N=4 nodes, so applying the formula for the maximum number of tolerated Byzantine nodes results in: f=(4-1)/3=1. If two or more Byzantine nodes (f>1) exist, a the 4-node PBFT network cannot guarantee consistency or integrity of the ledger across all nodes. (For comparison, tolerating two Byzantine nodes would require f=(7-1)/3=2, or a minimum 7-node PBFT blockchain network.)

like image 103
Deepak Kumaraguru Avatar answered Oct 05 '22 23:10

Deepak Kumaraguru


In Hyperledger Fabric, nodes can be of type orderers, endrosing peers or clients. Are you asking about a number of Byzantine nodes, or the number of nodes in general?

  1. If you are asking about how many Byzantine nodes, then the precise answer is as follows: a) There is no limit on Byzantine peers and clients. If there are too many of them, a client just won't be able to get his transaction endorsed. However the integrity of the system is not endangered. b) Since the consensus algorithm is run between the orderers, then the limit depends on that specific algorithm used. Remember Hyperledger Fabric supports pluggable consensus, meaning that the consensus algorithm is not necessarily hardcoded. In its current implementation, Hypeledger Fabric runs "Kafka" which is NOT Byzantine-Fault tolerant. This means that even one Byzantine orderer can compromise the whole system! However, there are plans for BFT-Smart which is Byzantine-Fault tolerant and supports up to 33% faulty nodes, as the above answer says.
  2. If you are asking about the total number of nodes, then the precise answer is as follows: a) There is (theoretically) no limit on the number of clients-peers. b) The practical limit of orderers again depends on the consensus. For BFT, this translates up to practically 10 (maybe 20) orderers. c) The practical limit of peers depends on the network latency. The Hyperledger paper by Androulaki et al. has an evaluation up to 100 peers showing its performance in a WAN and a LAN environment.
like image 36
Panos Avatar answered Oct 05 '22 23:10

Panos