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
9
votes
5 answers

GAE Task Queue - Is there a way to delay a task from executing for X seconds

Is there a way to guarantee a task to be performed in X minutes (or after X min) ? (rate would mean the intervals between tasks but what about the first task, would the first task starts after the 'rate' time?)
bach
  • 369
  • 3
  • 10
9
votes
3 answers

Custom datastore location on local machine with App Engine

I'm developing App Engine application in Android Studio and testing it on my local machine (with local datastore). It's Java based app. Every time I re-run the server the local datastore is cleared. I've found several solutions for Python developers…
tomrozb
  • 25,773
  • 31
  • 101
  • 122
9
votes
2 answers

How to debug the AppEngine local server from IDEA+Gradle?

I'm following the Udacity App Engine course but as the tinker, I'm following using Gradle and IDEA (Open Source edition). I have setup the project successfully using the following build.gradle file buildscript { repositories { …
Machinarius
  • 3,637
  • 3
  • 30
  • 53
9
votes
2 answers

How to pass a serialized object to appengine java task?

I'm using java appengine and the task queue API to run async tasks. I would like to add a task to the task queue but pass a a java object as a parameter. I notic the task options api can add a parameter as a byte[] but I'm unsure how to use it. 1)…
aloo
  • 5,331
  • 7
  • 55
  • 94
9
votes
1 answer

Google App Engine on Google Apps Domain

I'm having trouble getting my domain pointed to my website hosted with google app engine. Here's the background... take care to separate the concepts of "google apps" (domain hosting, email, etc.) and "google app engine" (website framework). I have…
Bob Ralian
  • 1,949
  • 1
  • 20
  • 29
9
votes
2 answers

Use GAE Service Account JSON key

I have an application in GAE and I'm using a service account to call some google services. When I created a service account in the dashboard, a JSON key was provided to me. The content of the json is something like this: { "private_key_id":…
Luiz Guilherme
  • 1,601
  • 21
  • 37
9
votes
1 answer

Google App Engine Search API custom scoring

For a new project I am comparing ElasticSearch and the GAE Search API. What I need is a custom scoring functionality that is able to handle some custom scoring functions, like: lowering the document's score on distance from a specific geopoint (the…
Peter
  • 1,658
  • 17
  • 23
9
votes
1 answer

Deploying to appengine hangs

I just tried to deploy my app 5 times, and every times it hangs forever: 08:02 PM Starting deployment. 08:02 PM Checking if deployment succeeded. 08:02 PM Will check again in 1 seconds. 08:02 PM Checking if deployment succeeded. 08:02 PM Will check…
TjerkW
  • 2,086
  • 21
  • 26
9
votes
2 answers

My app engine app is not automatically creating default bucket

My app engine app is not automatically creating default bucket I don't understand why this is. My other app works fine but when i run the same code in a new app I'm working on it doesn't create the Google cloud storage bucket. Anyone have any…
9
votes
3 answers

Google Cloud Endpoints vs normal request handlers for small webapps?

I'm working on a small webapp in App Engine, using Angular for the frontend. I've looked through the documentation for Google Cloud Endpoints, but I'm having a hard time finding significant advantages over just writing normal handlers that return…
whereswalden
  • 4,819
  • 3
  • 27
  • 41
9
votes
1 answer

Performance issues with App Engine memcache / ndb.get_multi

I'm seeing very poor performance when fetching multiple keys from Memcache using ndb.get_multi() in App Engine (Python). I am fetching ~500 small objects, all of which are in memcache. If I do this using ndb.get_multi(keys), it takes 1500ms or…
alzy
  • 307
  • 1
  • 10
9
votes
3 answers

Can I write parts of the Google App Engine code in Java, other parts in Python?

Google App Engine supports both Python and Java application development. Can I have both in the same application?
Thilo
  • 257,207
  • 101
  • 511
  • 656
9
votes
1 answer

In Google App Engine, how do I use reference properties between two entities that reference each other?

If I have two types of models that each reference each other, whichever one I try to define first says it does not recognize the referenced other type (because it is defined further down in the file). For example: class Author(db.Model): …
ryan
  • 2,311
  • 3
  • 22
  • 28
9
votes
3 answers

Google App Engine deferred.defer() error 404

I'm trying to get running a task in the Task Queue using deferred.defer(). The task is added to the default task queue, but the task fail with a 404 error. This is the handler: import webapp2 import models import defer_ajust_utils from…
9
votes
3 answers

How to serve cloudstorage files using app engine SDK

In app engine I can serve cloudstorage files like a pdf using the default bucket of my application: http://storage.googleapis.com/.appspot.com/ But how can I serve local cloudstorage files in the SDK, without making use of a…
voscausa
  • 11,253
  • 2
  • 39
  • 67