O'Reilly logo

Microsoft Dynamics AX 2012 Services by Kenny Saelen, Klaas Deforche

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Multithreading

Microsoft Dynamics AX 2012 has the ability to run jobs in batch by leveraging the abilities of the batch framework. The batch framework has two main purposes:

  • Enable jobs to be scheduled.
  • Provide a mechanism to split jobs up into smaller parts and run them in parallel. By doing so, the batch job has a larger throughput and the response time is much better.

We want the service that we created earlier to use the same batch framework so that it has better performance. There are different approaches to this and each has its advantages and disadvantages. The two most commonly used approaches can be described as:

  • Individual task approach
  • Helper approach

Individual task approach

This approach will divide the batch job into a number of work units ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required