Increasing the number of threads without using tPartitioner component

One Star

Increasing the number of threads without using tPartitioner component

Hi Team,
           I am having a use case of fetching data from a web service in an iterative fashion. I was wondering whether there is a way by which i may manually set the number of parallel threads to fetch data from the web service.
           I did check out the tPartitioner component which helps me to set the number of threads up-to N-1, where N is the number of cores available in the machine.Hence, at max i am able to set 3 threads, since i have a quad core processor.

         So , i am checking for options where i may set 20-40  parallel threads to fetch data from the web service.
         Kindly let me know if there is any way to do this.


Thank You

Moderator

Re: Increasing the number of threads without using tPartitioner component

Hi sudharshan.c,


Have you checked "Enable parallel execution" option on iterate row? What's your current job design?
Please take a look at document about:TalendHelpCenter:How to launch parallel iterations to read data

Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: Increasing the number of threads without using tPartitioner component

Hi Sabrina,
                Thanks you!!!! you are a Savior for me!!!!!! Just what i needed.

Thank You
One Star

Re: Increasing the number of threads without using tPartitioner component

Also, may i know how to get the thread ID of the parallel executions that are executed in the 'iterate' property?
Moderator

Re: Increasing the number of threads without using tPartitioner component

Hi,
may i know how to get the thread ID of the parallel executions that are executed in the 'iterate' property?


Could you please set an example for the thread ID of the parallel executions?

Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

2019 GARTNER 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

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog