Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

{"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.

bahar.wadia
Posts: 0
Joined: Wed Aug 07, 2013 2:05 am

{"code":"SCSX009","description":"Script launch interval time has not elapsed"}

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.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

{"code":"SCSX009","description":"Script launch interval time has not elapsed"}

When you say Appery.io service - do you refer to Server Code script or a 3rd party API?

William Bradee
Posts: 0
Joined: Thu Oct 03, 2013 8:45 pm

{"code":"SCSX009","description":"Script launch interval time has not elapsed"}

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.

Image

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");
}

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

{"code":"SCSX009","description":"Script launch interval time has not elapsed"}

Thanks for posting. I sent this to our dev. team so they can review more.

bahar.wadia
Posts: 0
Joined: Wed Aug 07, 2013 2:05 am

{"code":"SCSX009","description":"Script launch interval time has not elapsed"}

I mean both Appery REST database and server side scripts.

I am not using any 3rd party APIs

bahar.wadia
Posts: 0
Joined: Wed Aug 07, 2013 2:05 am

{"code":"SCSX009","description":"Script launch interval time has not elapsed"}

William, Thank you for helping diagnose this problem. I anxiously await a response from the Appery dev team.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

{"code":"SCSX009","description":"Script launch interval time has not elapsed"}

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.

bahar.wadia
Posts: 0
Joined: Wed Aug 07, 2013 2:05 am

{"code":"SCSX009","description":"Script launch interval time has not elapsed"}

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?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

{"code":"SCSX009","description":"Script launch interval time has not elapsed"}

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).

Return to “Issues”