cmoulliard
Feb 11th, 2008, 08:52 AM
Hi,
1 ) Question concerning master/worker pattern
I would like to know if Spring batch implement the Master/Worker pattern which is currently used to parrallelizing work ? If it is the case, How can we achieve the following scenario using spring-batch ?
Scenario : A file copied in a directory contains thousands sales intructions. In order to process it in a efficient and quick way, the instructions must be splitted in group of hundreds instructions and associated to different work threads/queues. The master process which is probably a task (created through jbpl) will wait until the workers have finished their work.
2) Can we split the work on different java virtual machine like it is possible to do with Terracota product which is based on a hub-and-spoke architecture ?
Regards,
Charles
1 ) Question concerning master/worker pattern
I would like to know if Spring batch implement the Master/Worker pattern which is currently used to parrallelizing work ? If it is the case, How can we achieve the following scenario using spring-batch ?
Scenario : A file copied in a directory contains thousands sales intructions. In order to process it in a efficient and quick way, the instructions must be splitted in group of hundreds instructions and associated to different work threads/queues. The master process which is probably a task (created through jbpl) will wait until the workers have finished their work.
2) Can we split the work on different java virtual machine like it is possible to do with Terracota product which is based on a hub-and-spoke architecture ?
Regards,
Charles