Intelligent Chunking Mechanism During ‌Backend Processing

Intelligent chunking replaces risky, monolithic transactions with a "divide and conquer" strategy. By shifting heavy operations to the processing phase, the system segments data to prevent memory bloat and timeouts. Real-time bookmarking facilitates parallel processing and to track and identify their assigned data chunks for each execute processes.

Required Editions

Available in: Lightning Experience
Available in: Enterprise, Unlimited, Performance, and Developer Edition.

Optimize performance by starting with default values and adjusting based on memory usage and error rates. Smaller chunks prioritize stability for complex data and provide a safety margin against heap issues, though they increase runtime. Larger chunks speed up processing for simpler data by processing more records per transaction. This process requires careful monitoring to stay within the system limits.

  • Benefits of Intelligent Chunking:
  • High Scalability: The system handles hundreds of thousands of complex records. It segregates these records into multiple transactions across products and promotions to ensure stability.
  • Limit Protection: Eliminates SOQL, Heap, and CPU timeout errors by avoiding monolithic transactions.
  • Optimized Performance: Features configurable chunk sizes and parallel execution for maximum speed.
  • Data Integrity: Guarantees accurate, gap-free processing through intelligent sequential logic.