Spring / Spring batch Interview questions
Explain parallel processing in Spring Batch Framework.
Parallel processing enables multiple batch runs jobs to run in parallel to reduce the total elapsed batch processing time. Parallel processing is simpler as long as the same file or database table is not shared among the processes otherwise the processes should process partitioned data.
Another approach would be using a control table for maintaining interdependencies and to track each shared resource in use by any process or not.
Other key issues in parallel processing include load balancing and the availability of general system resources such as files, database buffer pools etc. Also note that the control table itself can easily become a critical resource.
More Related questions...