Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In real-time workflows, the collecting agent continuously stores UDRs in a buffer at the beginning of a workflow. UDRs are processed concurrently, and the processing order cannot be guaranteed. This way, an agent might handle as many UDRs as the number of configured threads, simultaneously.

Image Removed

...

title
Note

Note!

Agents that route bytearray data in a real-time workflow do not use a buffer.

Anchor
Threads_in_a_batch_workflow
Threads_in_a_batch_workflow
Threads in a Batch Workflow

To apply multithreading in a batch workflow, a UDR storage buffer has to be configured ahead of an agent with Thread Buffer support. A delivering thread stores a UDR in the buffer and then fetches the next UDR in turn. A processing thread pulls a UDR from the buffer, forwards it to the agent, and then pulls the next UDR in turn. This way, when you add another buffer to the next agent, you also add another thread to the workflow.

...


Image Modified 
Batch workflow multithreading - A buffer adds a thread

To configure a batch workflow agent with multithreading, use the Thread Buffer tab of the agent configuration. See Thread Buffer Tab in Workflow Template.

Note

...

Thread Buffers

The order of processing UDRs is not guaranteed if thread buffers are used when sharing MIM variables between agents!