Absent Member.. v8_1 Absent Member..
Absent Member..
189 views

How does a remote worker interact with OO Central

Jump to solution

pls explain how a remote worker is interacting with the OO Central.

Is the remote worker connecting to central on a schedule bases to retrieve new flow executions? Can this be configured?

Is the remote worker downloading the complete flow content and executes the flow?

What happens if the flow changes during runtime to run on a different worker?

When are  executed flow steps results by the remote worker propagated to OO Central?

 

many thanks

 

 

  

Labels (1)
0 Likes
1 Solution

Accepted Solutions
Absent Member.. mitko_bt Absent Member..
Absent Member..

Re: How does a remote worker interact with OO Central

Jump to solution

Thanks for the prompt response!

Please note that in OO 10.x the communication is initiated in the opposite order compared to OO 9.x. In 10.x the workers are sending requests to Central requesting to be allocated an action from the queue to execute.

In the execution plan, Central randomly assigns steps to be executed by the workers from a worker group.

The workers periodically poll Central for new steps to be executed and start executing them.

Once the steps are executed, the next step to be executed is determined and the result is placed back in the queue.

Please note that the worker is not downloading the complete flow content, instead it downloads only a specific step. The next step can be picked up by a different worker etc.

With regards to the pulling mechanism,  you may refer to the newAgentContext.xml file (inside engine-webapp-xx.yy.jar ) in order to determine how often a worker will poll Central for new tasks.

  <score:configuration
                inBufferCapacity="500"

               numberOfExecutionThreads="20"

                maxDeltaBetweenDrains="100"
                />

  • By default : every 100 ms, retrieve up to 500 amount of tasks
  • The retrieved tasks will be spread across 20 threads

Note: the above config is valid for embedded worker only

 

Please let me know if any further information is required or if this response meets your requirements?

 

Regards,

Mitko

3 Replies
Absent Member.. mitko_bt Absent Member..
Absent Member..

Re: How does a remote worker interact with OO Central

Jump to solution

Hello,

 

Does your question refer to HPOO version 9.x or 10.x, as the way how the remote worker interact with OO Central has changed in HPOO 10.x?

 

Thanks,

Mitko

0 Likes
Absent Member.. v8_1 Absent Member..
Absent Member..

Re: How does a remote worker interact with OO Central

Jump to solution

referring to HPOO version 10.x

0 Likes
Absent Member.. mitko_bt Absent Member..
Absent Member..

Re: How does a remote worker interact with OO Central

Jump to solution

Thanks for the prompt response!

Please note that in OO 10.x the communication is initiated in the opposite order compared to OO 9.x. In 10.x the workers are sending requests to Central requesting to be allocated an action from the queue to execute.

In the execution plan, Central randomly assigns steps to be executed by the workers from a worker group.

The workers periodically poll Central for new steps to be executed and start executing them.

Once the steps are executed, the next step to be executed is determined and the result is placed back in the queue.

Please note that the worker is not downloading the complete flow content, instead it downloads only a specific step. The next step can be picked up by a different worker etc.

With regards to the pulling mechanism,  you may refer to the newAgentContext.xml file (inside engine-webapp-xx.yy.jar ) in order to determine how often a worker will poll Central for new tasks.

  <score:configuration
                inBufferCapacity="500"

               numberOfExecutionThreads="20"

                maxDeltaBetweenDrains="100"
                />

  • By default : every 100 ms, retrieve up to 500 amount of tasks
  • The retrieved tasks will be spread across 20 threads

Note: the above config is valid for embedded worker only

 

Please let me know if any further information is required or if this response meets your requirements?

 

Regards,

Mitko

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.