Contents tagged with Multithreading
Today, I want to re-tell about Contract API Optimization. Materials get from conference of Acumatica and introduction by Joshua van Hoesen.
Three point of ineterst
Utilisation of ReturnBehavior
Avoid graph logic by creating Generic Inquiry for data retrieval
With the continued advancement of integrated software solutions, there has also been a need to address legacy business processes and how they may be implemented in a modern framework. These business processes tend to rely heavily on collecting large amounts of raw data from disparate sources and aggregating it together for further processing.
Some companies whose business process … more
today I want to say a few words about my practice of usage Multithreading in Acumatica. I have a dedicated server which has 40 cores. And I have a need to read plenty of records from some other system. General schema is like this:
Create some graph instance.
Fill created graph instance data views with needed data
At created graph instance call method graphInstance.Actions.PressSave();
And that schema is perfectly workable, but for my disappoitment my 40 cores were not busy at all with doing something useful. So I had to figure out how to use them more fully.
Here are some fragments of code that I've used:
int numberOfLogicalCores = Environment. … more