On Wed, Dec 4, 2013 at 11:46 AM, Bob Achgill <[email protected]> wrote:

> I have tried maxing out the front end... but no or not enough help.
> I'm not sure how to do what you suggest ... "You can also try moving
> */formUpload* to run on a backend instance".  It looks Iike what I need
> to do but after looking at the link you provided, I don't know how to do
> what you are saying.
>
>

You need to create a backends.xml file in your */war/WEB-INF/* folder and
set up a backend. For example, the following XML sets up a backend named
*worker*:

<backends>
 <backend name="worker">
   <class>B2</class>
   <instances>1</instances>
   <options>
     <dynamic>true</dynamic>
     <public>true</public>
   </options>
 </backend>
</backends>

>From there you can access your application running within a backend
instance at the URL: *worker . (application id) . appspot . com *(ignore
the spaces). Then you can request URLs within your application as normal,
and the requests will be allowed to continue indefinitely.

You can also use the Modules service to run backend instances. Here's some
example code to try out:
https://github.com/GoogleCloudPlatform/appengine-modules-sample-java

With all of that said, a note of caution: this is at best a band-aid fix.
Normally, requests should not be lasting more than 60 seconds, especially
if you're just uploading form data. You may want to profile your app using
AppStats ( https://developers.google.com/appengine/docs/java/tools/appstats)
and see what is taking so long to run.


-----------------
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to