Dynamic Batch Size Adjustment for Blockchain Transaction Processing
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Blockchain-based systems face performance issues due to limited processing power, making them impractical for rapid processing of large transactions, and they struggle to replace legacy systems despite their potential for ensuring transaction integrity and security.
Innovation Solution
An accelerated transaction processing apparatus and method that adjusts batch sizes based on monitoring information and network traffic to improve transaction processing performance, minimize failure risks, and determine network congestion, enabling efficient batch processing within blockchain networks.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If batch processing is performed with a fixed large batch size to improve processing speed, then productivity increases, but reliability decreases due to higher transaction failure probability
Solution Approach 1:
The batch size is made dynamic rather than fixed. The processor adjusts the batch size based on real-time monitoring information about transaction failure events. When failure rates are low, larger batch sizes are used to maximize throughput. When failure rates increase, batch sizes are reduced to maintain reliability, thus resolving the contradiction between productivity and reliability.
Solution Approach 2:
The batch size parameter is changed dynamically based on system conditions. By monitoring transaction failure events and adjusting the batch size parameter accordingly, the system optimizes both processing speed and success rate. This parameter adaptation allows the system to achieve high productivity when conditions are favorable while maintaining reliability when conditions deteriorate.
2Loss of time
If batch size is increased to reduce processing time, then loss of time decreases, but loss of energy increases due to higher failure probability requiring retries
Solution Approach 1:
The system implements feedback control by monitoring transaction failure events and using this information to adjust batch size. This feedback mechanism ensures that the system operates in an optimal range where processing time is minimized without excessive retries. By continuously adapting to system conditions, the feedback loop prevents energy waste from failed transactions while maintaining fast processing speeds.
Solution Approach 2:
The system self-adjusts its batch size based on monitored failure events without external intervention. This self-service capability allows the system to autonomously optimize the trade-off between processing speed and energy consumption, reducing time loss when conditions permit and preventing energy waste when failure probabilities increase.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
An accelerated transaction processing apparatus is provided. The apparatus comprises a memory for storing one or more instructions, a communication interface for communicating with a blockchain network and a processor. The processor is configured to obtain monitoring information on a transaction failure event occurred in the blockchain network, adjust a batch size based on the monitoring information and perform batch processing for one or more individual transactions using the adjusted batch size.