Page 1 of 1

web service transformer and XML Input in Parallel Mode

Posted: Mon Oct 03, 2011 9:48 pm
by raghav_ds
In a Job where a webservice is invoked and the input xmls are parsed, I have tried parallel mode for both Web service Transformer and XML Input stages.

By default these are running in sequential mode so I have set them to Parallel mode from Stage->Advanced->Execution Mode.

After this I have run the job by enabling "Compile in Trace Job". The job completed succesfully. But in the log, there no parallel instances for these two stages. Can we run these stages in parallel..

Posted: Mon Oct 03, 2011 10:07 pm
by ray.wurlod
Unless you dump the score, you can not assert that the stages did not run in parallel by examination of the log.

Posted: Mon Oct 03, 2011 10:43 pm
by raghav_ds
Here is the DumpScore related to these stages.

Code: Select all

op4[4p] {(parallel APT_CombinedOperatorController:
      (APT_LUTProcessOp in LkpSignOn)
      (APT_TransformOperatorImplV9S0_Get_EDL_ProducerCode_PolicyList_EPAS_01_TfmFindGen in TfmFindGen)
      (xmlFindGen)
      (wsFind)
      (FindResponse)
      (Peek_56)
    ) on nodes (
      node1[op4,p0]
      node2[op4,p1]
      node3[op4,p2]
      node4[op4,p3]
    )}
"Web Service Transformer" is wsFind and XML Input is FindResponse.

It seems they are running in Parallel. Compile Trace Mode is not giving parallel instances.

Posted: Mon Oct 03, 2011 11:13 pm
by ray.wurlod
When you Compile in Trace Mode there is an option to force all players to execute in sequential mode. Perhaps you have this selected?

Posted: Tue Oct 04, 2011 12:18 am
by raghav_ds
Yes. I have selected the default option of forcing players to sequential mode.

Thanks Ray.