Hello all,
I'm using the Live Integration project in a website, to export orders when finished, synch user information, get user specific prices... Some features were custom developed by me.
What happens is that in my local solution, when I finish a checkout process and send the request to the ERP, I can see in the log file that this process takes about 5 seconds to start synch the order, from the time that I press the 'finish' the order button. In the dev website, this process takes about 20 to 30 seconds to start. Once it starts, it takes less than a second the finish the process.
I've subscribed to the order saved event, and placed a line in the log file everytime it saves the order in the process, so that I can debug this situation better. I can see that in some situation, from the 'last' saved line in the log to the 'start' synch order, it takes around 20/25 seconds.
I can't figure out why.
The site is in testing phase, and when a few users are navigating through the site, DW makes a lot of calls to the ERP to know the price of the products to that user. This makes the site to be slow at times, due to all the requests.
How can this be improved, so that navigating in the site can be smoother?
Thank you.