Dynamic Batch Processing for Business Event Resource Optimization
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
X/Open Extended Architecture (XA) transactions are resource-intensive due to the need for synchronization across multiple resources, leading to inefficiencies in processing business events, especially under heavy system loads.
Innovation Solution
Implementing a method for batch processing business events using a time delay to determine optimal batch groups, allowing for efficient processing by grouping events into fewer, larger transactions during high loads and more frequent, smaller transactions during low loads, thereby optimizing resource utilization.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If XA transactions are used for processing business events, then transaction reliability and consistency across multiple resources are improved, but system resource consumption increases
Solution Approach 1:
The patent combines multiple business events into a single batch transaction, merging multiple individual XA transactions into one collective transaction. This reduces the total number of transaction protocols executed while maintaining data consistency across all involved resources, thereby lowering system resource consumption while preserving reliability
Solution Approach 2:
The patent implements dynamic batch size adjustment based on system load conditions. When system load is high, larger batches are processed to reduce transaction frequency and resource usage; when load is low, smaller batches maintain faster processing. This dynamic adaptation optimizes the balance between transaction reliability and resource consumption
2Productivity
If multiple XA transactions are executed for complex business processes, then complete business logic is fulfilled, but processing time and system overhead increase
Solution Approach 1:
Multiple business events that would traditionally require separate XA transactions are merged into a single batch transaction. This consolidation reduces the cumulative processing time and system overhead associated with multiple transaction protocol executions while ensuring all business logic requirements are met through the batch commit mechanism
Solution Approach 2:
The system performs preliminary validation and preparation of business events within the batch before committing the transaction. Events are pre-checked for validity, resource availability, and compatibility with other events in the batch, which prevents failed transactions and reduces reprocessing time, thereby improving overall processing efficiency
Data Source
AI summary
Systems and methods are provided for intelligent batch processing of business events. An exemplary method includes accessing a business process having a plurality of events for execution, determining, using one or more hardware processors, a batch group for processing comprising at least one of the plurality of events, wherein the batch group is determined using a time delay for collecting the at least one of the plurality of events to determine the batch group, and submitting the batch group for processing the at least one of the plurality of events. The method may further include processing the batch group as a first transaction. Processing the first transaction may include determining a resource required by the at least one of the plurality of events and attempting to lock the resource for use during the processing the batch group.


