Thanks Ikai :) I opted for a separate app ID. It's curious that Google itself is suggesting to use Namespaces for Testing and Production. http://code.google.com/intl/it-IT/appengine/docs/python/multitenancy/namespaces.html
On Sep 30, 11:45 pm, "Ikai Lan (Google)" <[email protected]> wrote: > I have mixed feelings about using namespaces for a staging instance. Why not > just use a separate app ID? It's not a violation of the terms of service, > and you can also test cron jobs as well. > > -- > Ikai Lan > Developer Programs Engineer, Google App Engine > Blogger:http://googleappengine.blogspot.com > Reddit:http://www.reddit.com/r/appengine > Twitter:http://twitter.com/app_engine > > On Wed, Sep 29, 2010 at 1:09 AM, MLTrim <[email protected]> wrote: > > Hi > > I'm looking for a clean solution to setup a staging environment for my > > Gae application. > > Reading the new spec of Namespaces API you suggest that a possible use > > of this new feature is: > > > # Creating Separate Datastore Instances for Testing and Production > > > It looks awesome to me so here are my questions: > > > 1. > > I've added this snippet on my appengine_config.py > > > def namespace_manager_default_namespace_for_request(): > > return os.environ['SERVER_NAME'] > > > then I've deployed a new 'staging' version of my app. > > The staging app is not sharing the Datastore with the Production one > > as aspected but I don't know what Namespace parameter should I input > > on Data Viewer to retrieve the entities on Staging namespace. > > I've tried with "staging' or 'staging.latest.fooapp.appspot.com' but > > it just not works. > > Any hints? > > > 2. > > If I would like to stress test the Staging app, could I give trouble > > (Table lock) on the Production app or working on different Namespaces > > avoid this problem? > > > 3. > > Different namespaces share the same quota on Datastore for example? > > > thanks > > Michele > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google App Engine" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]<google-appengine%[email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
