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