Lets say I have a database with 100 ticket orders, and I want them all purchased at once using MvCall to a third party API.
I know that trying to send them all at once will result in a timeout and therefore failure.
Can I have one script that cycles thru the list and generates an asynchronous call 100 times and each of those calls then writes back to my db the resulting info?
Will this create a big hit to the CPU?
Are the MvAsynchronous considered multithreaded?
Would it be better to use some ajax on a timer to kick off the script?
In the end, I need a way to do as described with the lowest risk of timeout / failure.
Bill
I know that trying to send them all at once will result in a timeout and therefore failure.
Can I have one script that cycles thru the list and generates an asynchronous call 100 times and each of those calls then writes back to my db the resulting info?
Will this create a big hit to the CPU?
Are the MvAsynchronous considered multithreaded?
Would it be better to use some ajax on a timer to kick off the script?
In the end, I need a way to do as described with the lowest risk of timeout / failure.
Bill
Comment