Offloading Blockchain Chaincode to Network Switch Hardware
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current blockchain systems face performance bottlenecks due to the processing overhead on blockchain peers, which can lead to reduced throughput and increased latency in chaincode execution.
Innovation Solution
Offloading chaincode operations from blockchain peers to network switches equipped with secure hardware, allowing these switches to execute chaincode operations and return results to the peers, thereby reducing the processing load on blockchain peers.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If chaincode operations are executed on blockchain peers, then security and decentralization are maintained, but processing overhead increases leading to reduced throughput and increased latency
Solution Approach 1:
The patent extracts chaincode execution functionality from blockchain peers and relocates it to dedicated execution environments (separate virtual machines or containers). This separation allows peers to focus on consensus and validation while execution occurs in specialized environments, reducing peer processing overhead and improving throughput.
Solution Approach 2:
The patent introduces an intermediary execution layer between the blockchain peer and the chaincode. This intermediary manages the execution environment, handles resource allocation, and coordinates between peers and chaincode, effectively reducing the direct processing burden on peers while maintaining security through controlled access.
2Speed
If chaincode operations are executed on blockchain peers, then decentralization is maintained, but latency in chaincode execution increases
Solution Approach 1:
By extracting chaincode execution from the peer process and running it in separate execution environments, the patent enables optimized execution paths with reduced context switching and processing overhead, directly improving execution speed while maintaining the decentralized architecture.
Solution Approach 2:
The patent segments the blockchain system into distinct functional components: peers for consensus, execution environments for chaincode, and coordination layers for communication. This segmentation allows each component to be optimized independently, reducing overall system latency.
3Productivity
If processing tasks are centralized on blockchain peers, then system management is simplified, but performance bottlenecks occur
Solution Approach 1:
The patent segments processing tasks across multiple specialized components (peers, execution environments, coordination layers), distributing the workload to eliminate bottlenecks and improve throughput, while maintaining manageable complexity through clear functional separation.
Data Source
AI summary
An example operation may include one or more of receiving, via a blockchain peer of a blockchain network, a request to execute chaincode of a blockchain of the blockchain network from a client application, offloading one or more of chaincode operations of the request to hardware on a network switch via a network path between the blockchain peer and the network switch, receiving execution results of the offloaded one or more chaincode operations from the network switch via the network path, and forwarding the execution results received from the network switch to the client application.


