Hi there
I have a few basic questions
1. If I have 1000+ Namespaces, how will they get displayed in the App Engine Admin Console (Datastore Viewer),
Right now I have few and they are displayed in a dropdown box.
2. I have a Multi-Tenant app where each tenant has its own namespace. the model and entities related to the tenant is within their respective namespace except for the User entities each tenant can have multiple users.
thats why all users are stored without any namespace.
The user's UserId ,name and TenantId (also used as namespace) is stored in the Users Model
After user log's in through Google , We Query this Model to Find the Namespace of the logged in User, Once found we set it and use it for reading / storing entities in their respective namespace.
My Question is What could go wrong with this approach ?, and do we have any better solution for handling Multiple Tenants with Multiple User Accounts.
We need to do this without using Sub Domain Names and URL Paths (Containing the namespace id or key)
3. We also need to have (CRON) Jobs which will run at a minimum of 3 times a day to Query Some Entities and Update Some and Send the Report to the Tenants users. In this case we would have to Query the meta data to get list of namespaces, and then for each namespace query the desired entities.
This would increase the cpu and memory consumption, is there any better way to run CRON on multiple namespaces.
Any help will be highly appreciated.
Thanks
Sarfaraz
.
Hi there
I have a few basic questions
1. If I have 1000+ Namespaces, how will they get displayed in the App Engine Admin Console (Datastore Viewer),
Right now I have few and they are displayed in a dropdown box.
2. I have a Multi-Tenant app where each tenant has its own namespace. the model and entities related to the tenant is within their respective namespace except for the User entities each tenant can have multiple users.
thats why all users are stored without any namespace.
The user's UserId ,name and TenantId (also used as namespace) is stored in the Users Model
After user log's in through Google , We Query this Model to Find the Namespace of the logged in User, Once found we set it and use it for reading / storing entities in their respective namespace.
My Question is What could go wrong with this approach ?, and do we have any better solution for handling Multiple Tenants with Multiple User Accounts.
We need to do this without using Sub Domain Names and URL Paths (Containing the namespace id or key)
3. We also need to have (CRON) Jobs which will run at a minimum of 3 times a day to Query Some Entities and Update Some and Send the Report to the Tenants users. In this case we would have to Query the meta data to get list of namespaces, and then for each namespace query the desired entities.
This would increase the cpu and memory consumption, is there any better way to run CRON on multiple namespaces.
Any help will be highly appreciated.
Thanks
Sarfaraz
.
--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.