Blockchain Chaincode Load Balancing for Consensus Verification
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing blockchain networks face inefficiencies in resource utilization due to some nodes performing complex computations while others remain idle, undermining the decentralization and security provided by consensus mechanisms.
Innovation Solution
A load-balancing mechanism that splits operations among nodes based on Key Performance Indicators (KPIs) to optimize resource utilization, ensuring efficient execution of chaincode across a node group while maintaining decentralization and security.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If operations are distributed across all nodes in a blockchain network, then resource utilization is improved, but processing time increases due to the need for consensus verification across multiple nodes
Solution Approach 1:
The patent segments the blockchain network into two distinct groups: executing nodes that perform chaincode execution and verify operations, and non-executing nodes that maintain the blockchain but do not perform execution. This segmentation allows computing-intensive operations to be concentrated on specific nodes, improving overall resource utilization while limiting the number of nodes that require synchronization, thereby reducing processing time for consensus verification.
2Speed
If complex computations are performed by a few nodes, then processing speed is improved, but decentralization and security are worsened due to idle nodes
Solution Approach 1:
The patent implements a dual-role architecture where nodes can function as executing nodes, non-executing nodes, or both simultaneously. Executing nodes perform chaincode execution and can also participate in consensus verification, while non-executing nodes maintain the blockchain and can be activated as executing nodes when needed. This multi-functionality ensures that computing capacity is efficiently utilized while maintaining decentralization, as any node can potentially perform execution tasks, preserving security and distributed verification.
Data Source
AI summary
A system described herein may receive a request for a blockchain network to perform a particular set of operations, such as executing chaincode recorded to a blockchain associated with the blockchain network. The system may receive Key Performance Indicators (“KPIs”) of nodes of the blockchain network, and may receive a consensus policy associated with the blockchain network. The consensus policy may indicate a particular quantity of result sets used to verify execution of a given operation by the blockchain network. The system may assign different nodes of the blockchain network to perform different portions of the requested set of operations. The assignments may be determined based on the consensus policy and the KPIs of the nodes. The system may aggregate result sets from different nodes in order to generate aggregated result sets, where the quantity of aggregated result sets satisfies the consensus policy.


