Hi Nick,

Thanks for the fast reply.

I am testing my understanding:
1. There is no way to track bandwidth and storage.
2. I need to implement my own user mgmt (registration, ...) and then I
have to track my users' requests within my application through
get_request_cpu_usage().

I am daydreaming: if an "out of the box" user management was provided
by the GAE infrastructure (based on e.g. OpenID?) and if it was bound
to a bit more elaborate resource usage tracking service... This would
be an ideal platform for SaaS developers: per user reporting/billing/
quotas.

Anyway, thanks for the info:
Gabor

On Jul 16, 4:13 pm, "Nick Johnson (Google)" <[email protected]>
wrote:
> Hi gpesti,
>
> Currently the only way we have for an app to track its own resource
> usage is to use the quota API:
>
>     from google.appengine.api import quota
>     megacycles = quota.get_request_cpu_usage()
>
> Currently, this is the only available quota you can do this for, and
> the returned figure does not include CPU usage due to API calls. We
> intend to expand the available information in the near future.
>
> Depending on the nature of your computation intensive requests - eg,
> what sort of work they do, and if it can be batch processed offline,
> rather than as part of the response to a user's request - you may want
> to consider using the task queue API, or shelling out to another
> service such as Amazon's EC2 to do the processor-intensive work.
>
> -Nick Johnson
>
>
>
>
>
> On Thu, Jul 16, 2009 at 2:25 PM, gpesti<[email protected]> wrote:
>
> > Hi All,
>
> > I have a traditional WEB application with the following features:
> > - the provided services are very computation-intensive
> > - the usage is subscription-based, you need to register and log in to
> > access the services
> > - there are free and paid versions of the services, the key
> > differentiating factor is that paid requests have higher priority, can
> > consume more resources, etc than the free ones.
> > - there is a flat monthly fee for the paid services.
>
> > Beyond the obvious (scaling…) limitations the other main reason this
> > application needs to be modified/recreated is the flat fee model. To
> > provide a real pay-as-you-go experience it would be good to track the
> > resource utilization on a per customer basis and bill accordingly.
> > Setting per user quotas would be a plus, too.
>
> > I understand the GAE pricing model is based on the resource
> > utilization of the application as a whole, but are there any out of
> > box platform services that an application could use for internal
> > resource usage management?
>
> > Thanks,
> > Gabor
>
> --
> Nick Johnson, App Engine Developer Programs Engineer
> Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration
> Number: 368047
--~--~---------~--~----~------------~-------~--~----~
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