{"code":"SCSX009","description":"Script launch interval time has not elapsed"}
Sorry, no updates yet. It might take time before we can get back to you.
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
Sorry, no updates yet. It might take time before we can get back to you.
In the mean time, do you have any recommendations to improve performance for client-server app that uses Appery REST services?
Obviously, shuttling large data between the server and the app over the air is not a viable solution.
Thanks for you help in advance.
When you say Appery.io service - do you refer to Server Code script or a 3rd party API?
I modified my test to just invoke the service back-to-back rather than in an AJAX callback. This works most of the time, but still intermittently gets the "Script launch interval time has not elapsed" error.
You can see from the trace a successful call with virtually no delay between calls.
So the 300 ms fence is not stopping the call. This runs over and over without failing, but will intermittently fail.
It bothers me that it is intermittent -- it points to a bug. Either 300 ms policy enforcement is buggy, or there's some other timing error.
This issue is not blocking me. In case this helps someone else, I add this code as a workaround in service call error path to retry:
if (jqXHR.responseText.indexOf("SCSX009") 0){
// Retrying
Appery("svc2Status").text("Retry");
SVC2svc.execute({});
} else {
Appery("svc2Status").text("Error");
}
Thanks for posting. I sent this to our dev. team so they can review more.
I mean both Appery REST database and server side scripts.
I am not using any 3rd party APIs
William, Thank you for helping diagnose this problem. I anxiously await a response from the Appery dev team.
Here is an update. Right now the burst limit for Server Code is about 3 requests per second. We will be changing it based on user's plan in the future. If this is important for you today, send us an email to a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a and we can figure out something.
Based on your recommendation here ... https://getsatisfaction.com/apperyio/...
I restructured my application to take advantage of server side scripting. If the app is to be commercially viable, I have to be able to technically handle 1000s maybe more queries every second.
Is there a better/different solution to my problem.
I cannot be the only person with an app that stores images on the sever and then requests thumbnails as previews prior to downloading the original images.
What am I missing?
Re: https://getsatisfaction.com/apperyio/...
We currently have two v8 nodes, so it is possible that two scripts would be invoked at the same time (one on each node).