The Multi threading feature allows you to configure certain processes to be multi threaded, allowing the work to be divided into separate and mostly equal threads. This is a powerful tool to reduce process runtimes as volume grows with your business.
Let’s look at an example of how multithreading works. Let’s say we have 100,000 transactions that need to be posted. When the TranHead Post Task is single threaded, the TranHead Post task processes all 100,000 transactions in batches, typically set for 700 at a time.
If we set the TranHead Post task to be multi threaded with 4 threads, APM will do the following:
- Split the number of transactions into four approximately equal groups of transactions along logical lines; for example, by customer.
- Assign each transaction to a thread
- Process each thread simultaneously in batches
- When all four threads have completed, the next task is processed.