Running thread unsafe job as Subjob in its own process
I have a job that uses global variables that is thread unsafe. The job iterates over hundreds of files and sets global variables based on data from each file.
This job is called as a Subjob from another Iterate connection in the main job. I would like to run the Iterations in the main job in parallel, but I'm worried since the Subjob iterations can't be run in parallel. Would running the Subjob in its own process work? I know the threads of one process are typically independent of another process (without explicit programming to connect them), but I don't know if this will work in Talend.