[Netarchivesuite-devel] Batch Architecture Question

Kåre Fiedler Christiansen kfc at statsbiblioteket.dk
Wed Sep 23 11:34:16 CEST 2009


On Wed, 2009-09-23 at 09:41 +0200, Colin Samuel Rosenthal wrote:
> I'm trying to design an architecture for generating cdx indexes for wayback and came up with the following issue:
> 
> Is it possible to write an application which launches multiple batch jobs simultaneously, each in its own thread? My guess is that the
> answer is no because each job would run with the same applicationInstanceId so they would end up receiving replies intended for each other. Is
> that intuition correct?

No.

An application can easily submit more batch jobs. The application will
wait for replies to the particular batch job in each thread, not any
batch job.

The application instance ID is only used to get the right JMS channel to
listen for replies on.

Best,
  Kåre

-- 
Kaare Fiedler Christiansen - NetarchiveSuite developer
THE STATE AND UNIVERSITY LIBRARY, 
Universitetsparken 1, 8000 Aarhus C, Denmark.
Phone: +45 89462036




More information about the Netarchivesuite-devel mailing list