Quantcast
Channel: AX Developer Forum
Viewing latest article 36
Browse Latest Browse All 9880

Initially slow, but after that, became fast.

$
0
0

We developed barcode scanning system.

Using the machine like POS, the user scans the barcode and that data is inserted into AX.

After that AX returns OK sign and scanning machine shows the message "Data Inserted"

But here comes the problem. The first scanning takes above 1 minute.

However, after the first scanning, scanning became fast. about 10 Sec.

So we made a log, then found ProdMultiReportFinshed.insert() and ProdMultiReportFinished.run() are slow. 

Each of classes took about 20 seconds.

I think cache can be a cause. There will be no cache data to refer at the first time.

And it also can explain that scanning became fast after first scanning. Because cache will be there in that time.

 

I am not planning to modify the code. Just want to explain this phenomenon to our client. 

So, the question is :

The first scanning is dragging because there is no cache data after restarting the AOS. After the first scanning, cache data has created so scanning become fast. Am i thinking right? 

 

Regards


Viewing latest article 36
Browse Latest Browse All 9880

Latest Images

Trending Articles



Latest Images