Can five different GAE sites use a common data store?

In addition to the data store for your particular site, can you also share one data store between all your websites? (How to connect to another MySQL database from your main MySQL database?)

+2
google-app-engine
source share
3 answers

Not really.

Two workarounds:

  • Use five "versions" of the same application instead of five different applications. They will use the same data store. The sites on which they work are generally not alike (except for domain sharing).

  • Make access to the data warehouse available on the Internet by enabling remote_api . It is up to you to configure security for this, and the performance is unlikely to be great. In addition, the client side remote_api is currently only available for Python (the server side also runs in Java).

+2
source share

Short answer: no, your application has one and only one data store and is completely separate from any other application data store.

Longer answer: if you have an external data store with some variety available on the Internet, you can access it using urlfetch, but you cannot access multiple AppEngine data stores using the data store API.

+1
source share

RESTful services between applications can be expensive, and an alternative would be to use a single application for multi-level applications for many client domains or namespaces to separate your data.

+1
source share

All Articles