Does anyone from Google have these answers ? It is necessary to know what to
expect from a feature to be able to consider it seriously.

On Tue, Aug 3, 2010 at 11:25 PM, hawkett <[email protected]> wrote:

> Hi Laurent - good questions :) I am also wondering if there is a plan
> to be able to see quota usage per namespace - either through an API
> (better) or the directly in the admin console? For multi-tenancy it is
> highly desirable to get usage statistics on a per-tenant basis.  An
> API is preferred because accounting would soon get impossible with
> many tenants, scraping information from the admin console screens.
> Cheers,
>
> Collin
>
> On Aug 3, 5:27 pm, "Laurent d'Escrivan" <[email protected]>
> wrote:
> > Hi all,
> >
> > I'm experimenting with the datastore 'namespace' option, which seems to
> be
> > the datastore "Multitenancy" feature announced for prerelease SDK 1.3.6.
> >
> > (Issuehttp://code.google.com/p/googleappengine/issues/detail?id=945)
> >
> > I managed to successfully isolate data by setting current namespace with
> > google.appengine.api.namespace_manager.set_namespace.
> >
> > When a current namespace is set, datastore operations (and other APIs
> too,
> > it seems) cannot reach other namespaces, except when it is overridden via
> > the namespace="my_namespace" option (available for Model.all(), Query(),
> > etc.)
> >
> > That being said, I would have some questions:
> >
> > 1. Is this going to be the official way of segmenting data for 2.3.6 ? Is
> it
> > frozen or subject to future changes ?
> >
> > 2. When instancing a model, I cannot override namespace via options
> keywords
> > 'namespace' or '_namespace'. I can, however, override using
> _app=('myapp',
> > 'my_namespace'). Why is the usage different from other functions ? (I
> would
> > think _namespace would fit as well). Maybe there is a constraint I don't
> > see.
> >
> > 3. Is there a way to list the different namespaces used ? Or a way to
> fetch
> > entities across every namespaces ? If I store data in a random namespace,
> > and then forget about it, it looks like it lost forever and uses quota
> (like
> > a memleak). A way of listing the namespaces would be great to prevent
> such
> > "forgotten" data, and to show what is really in the datastore instead of
> > what the app think there might be.
> >
> > Thanks,
> > --
> > Laurent d'Escrivan
>
> --
> 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.

Reply via email to