Reusability of trunjob

Six Stars

Reusability of trunjob

Hi Team

 

I have 30 jobs all are using Same code so i kept it in tRunjob and using the same code,Now can i run all the 30 jobs at a time in parallel in enterpise studio.

If i do so will the job work fine

or will their be any lock on the job since same job is called many times.

Quick Response is much appriciated.

 

Thanks

Deepthi

Six Stars

Re: Reusability of trunjob

Could you please brief what do you mean by same code and provide the screenshot of child job.

Regards,

Ajinkya

Community Manager

Re: Reusability of trunjob

The job you are running using the tRunJob can be considered a Java Class. Every time you run this Job you are actually instantiating a new Instance of the Class. So yes, you can run them all in parallel with no issues.....other than potential memory and thread issues that you will have to consider.

Six Stars

Re: Reusability of trunjob

I agree to @rhall_2_0 but if  the job updates/ inserts records in same DB table, that will cause a lock on the table. That's the reason wanted to understand the function/role of your job.

Regards,

Ajinkya 

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.

Download