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 <michele.trimar...@gmail.com> 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 google-appeng...@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine+unsubscr...@googlegroups.com<google-appengine%2bunsubscr...@googlegroups.com> > . > 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 google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.