
- Forum
- Testing
- Software Patterns
- Design pattern for batch processing with a varying batch size
Design pattern for batch processing with a varying batch size
This is a discussion on Design pattern for batch processing with a varying batch size within the Software Patterns forums, part of the Testing category; Hi all, My requirement is that I have a list of transactions stored a db table, and need to process ...
-
Design pattern for batch processing with a varying batch size
Hi all,
My requirement is that I have a list of transactions stored a db table, and need to process those in a batch. Those need to be processed parallely. But my rate of processing should not be constant, i.e I have two time period slots peak-time and off-peak-time. During peak time my rate of processing needs to be less, and during off-peak-time my rate of processing needs to be higher. I intend to use Java Threads and Executors.
Can anybody suggest a pattern for this. Any design pattern??
Thanks in advance
sajhak

Reply With Quote





