google app engine - Separate datastore data from debug and live versions of app -


what best approach separate data debug version , live one?

the question , answers here describe how separate code logic: https://stackoverflow.com/a/8550105/129202

still datastore data shared between versions.

i imagine of these:

  • some nice setting in dashboard automatically separate data between versions, ignorant of each other. no changes needed in code, unless expect versions share data :-p
  • get version number in code , use "physically" organize data, ie putting data in subfolders/subkeys per version... i'm not experienced datastore yet , don't know if have significant impact on performance.

you can't seperate data based on versions.

you use name space, wouldn't

i use different instance , copy production data instance, run testing there, complete confidence working separate data set.

some of projects, data specific companies/users , set test companies , test users, approach dependent on types of updates, , how segmented data is. if have multi-tenant data using namespaces.


Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -