Questions tagged [google-app-engine]

Google App Engine is a cloud computing technology for hosting web applications in Google-managed data centers. Google App Engine is a Platform as a Service (PaaS) offering for Java, Python, Go, Node.js, and PHP in its standard environment. Runtimes for a few other languages as well as docker-based custom runtimes are supported in its flexible environment.

Google App Engine is a cloud computing technology for hosting web applications in Google-managed data centers.

Google App Engine lets you run your web applications on Google's infrastructure; applications are easy to build, easy to maintain, and easy to scale as your traffic and data storage needs grow:

  • Zero to sixty: Scale your app automatically without worrying about managing machines.
  • Supercharged APIs: Supercharge your app with services such as Task Queue, XMPP, and Cloud SQL, all powered by the same infrastructure that powers the Google services you use every day.
  • You're in control: Manage your application with a simple, web-based dashboard allowing you to customize your app's performance.

With App Engine, there are no servers to maintain: You just upload your application, and it's ready to serve your users.

Google App Engine makes it easy to build and deploy an application that runs reliably even under heavy load and with large amounts of data. It includes the following features:

  • Persistent storage with queries, sorting, and transactions.
  • Automatic scaling and load balancing.
  • Asynchronous task queues for performing work outside the scope of a request.
  • Scheduled tasks for triggering events at specified times or regular intervals.
  • Integration with other Google cloud services and APIs.

As of March 5th, 2012, Stack Overflow is Google's official community support channel for technical App Engine questions under the tag. Developers should continue to use the discussion forum or the StackExchange Software Recommendations sites for topics that are not a good fit for the Stack Overflow format. To report defects, use the App Engine public issue tracker.

Many questions are specific to their SDK for , , or . Please include the appropriate language tag with those questions or use the additional tags like and .

While covers both the standard environment and the flexible environment it may be a good idea to also tag questions specific to the flexible environment with .

More information

Books

46961 questions
63
votes
4 answers

Why doesn't my java compiler level match my installed project facet?

I made a simple Java Google AppEngine application called Guestbook in Eclipse 3.7 and am trying to run it. However, I am encountering an error that lacks a quick fix: Description Resource Path Location Type Java compiler level does not…
dangerChihuahua007
  • 20,299
  • 35
  • 117
  • 206
62
votes
7 answers

How to set up a staging environment on Google App Engine

Having properly configured a Development server and a Production server, I would like to set up a Staging environment on Google App Engine useful to test new developed versions live before deploying them to production. I know two different…
systempuntoout
  • 71,966
  • 47
  • 171
  • 241
62
votes
4 answers

Best practice to query large number of ndb entities from datastore

I have run into an interesting limit with the App Engine datastore. I am creating a handler to help us analyze some usage data on one of our production servers. To perform the analysis I need to query and summarize 10,000+ entities pulled from the…
Allen
  • 3,134
  • 5
  • 29
  • 49
62
votes
3 answers

AppEngine Error [ java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal ]

i was looking to find a solution for this problem but seems difficult. I have appengine project working with a servlet that handle registration. When i try to call this servlet i have this log report: 012-04-19 10:31:06.816 /register 500 90ms 0kb…
LucasJJ
  • 623
  • 1
  • 5
  • 6
61
votes
5 answers

Custom Authentication for Google Cloud Endpoints (instead of OAuth2)

We are super excited about App Engine's support for Google Cloud Endpoints. That said we don't use OAuth2 yet and usually authenticate users with username/password so we can support customers that don't have Google accounts. We want to migrate our…
tosh
  • 5,222
  • 2
  • 28
  • 34
60
votes
9 answers

How can I remove unused indexes in Google Application Engine?

I've accidentally added a new filter to my GAE application. The status of the index is 'serving' now - however I don't need that index at all and I'd like to remove. How can I do that?
Tamas Kalman
  • 1,925
  • 1
  • 19
  • 24
60
votes
3 answers

When does the App Engine scheduler use a new thread vs. a new instance?

If I set threadsafe: true in my app.yaml file, what are the rules that govern when a new instance will be created to serve a request, versus when a new thread will be created on an existing instance? If I have an app which performs something…
Moishe Lettvin
  • 8,462
  • 1
  • 26
  • 40
59
votes
6 answers

Pros and cons for different configuration formats?

I've seen people using *.cfg (Python Buildout), *.xml (Gnome), *.json (Chrome extension), *.yaml (Google App Engine), *.ini and even *.py for app configuration files (like Django). My question is: why there are so many different configuration file…
57
votes
8 answers

How can I map a "root" Servlet so that other scripts are still runnable?

I'm trying to build a Servlet that calls a JSP page similar to the following: public void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException, ServletException { …
Jeremy Logan
  • 47,151
  • 38
  • 123
  • 143
56
votes
17 answers

Eclipse startup hang, "Android SDK: resolving error markers"

I am aware that other people have tried to resolve this issue but have thus far found a suitable answer. The error is, on start up, eclipse gets hung up on "Android SDK: resolving error markers" furthermore, if I try to interact with it, it freezes…
PSchuette
  • 4,463
  • 3
  • 19
  • 21
56
votes
2 answers

What do the chars %7D mean in an url query?

If I access my webapp with the url /vi/5907399890173952.html then it works but when I look in the log files then googlebot is trying to access a similar url which generates an exception: /vi/5907399890173952.html%7D%7D what does it mean and how can…
Niklas Rosencrantz
  • 25,640
  • 75
  • 229
  • 424
56
votes
5 answers

How to parse somewhat wrong JSON with Python?

I have the following JSON string coming from external input source: {value: "82363549923gnyh49c9djl239pjm01223", id: 17893} This is an incorrectly-formatted JSON string ("id" and "value" must be in quotes), but I need to parse it anyway. I have…
Serge Tarkovski
  • 1,861
  • 6
  • 19
  • 24
55
votes
7 answers

Cloud Build fails to deploy to Google App Engine - You do not have permission to act as @appspot.gserviceaccount.com

This morning I made a PR which triggered a Cloud Build for my staging enviroment but failed to deploy the results to GAE. The error was as follows: ERROR: (gcloud.app.deploy) PERMISSION_DENIED: You do not have permission to act as…
55
votes
5 answers

How do I add a .env file in gitlab ci during deployment stage?

So I have a react/typescript app in my repo that I'm working on and in my repo I have a .env file that I'm ignoring so that my secrets don't get exposed and a .env-example file of important environment variables to configure. My problem is, since…
54
votes
5 answers

Resource usage of google Go vs Python and Java on Appengine

Will google Go use less resources than Python and Java on Appengine? Are the instance startup times for go faster than Java's and Python's startup times? Is the go program uploaded as binaries or source code and if it is uploaded as source code is…
Per Arneng
  • 2,100
  • 5
  • 21
  • 32