Niharika Parida
Niharika Parida

Reputation: 103

What is the session limit of Google app engine freemium

I have a simple php website hosted in Google App Engine. I am confused about it's session quaota which is 27. I have few pages like 'about us', 'services', 'products' and 'contact' form. Which are very generic pages. As I know, Google App Engine's “freemium” business model offering basic features for free. 5 million pageviews a month etc.

But in the “freemium” it has a session limit and I do not know what will happen to the website if it will read the session limit.

Thanks!

Upvotes: 0

Views: 99

Answers (3)

andrew pate
andrew pate

Reputation: 4299

Google app engine uses the datastore and memcached to store session data, so keep an eye on the usage these resources in your console to check your not approaching your free quota. I believe this is the only limiting factor.

I think session data lasts a day (google app engine session)

Upvotes: 0

Dan Cornilescu
Dan Cornilescu

Reputation: 39824

OK, it looks like you actually meant the instance-hours quota. When the app hits that quota (or any other quota for that matter) it stops working until the quota is replenished. As described in When a resource is depleted and How resources are replenished.

As for being able to translate 5 million requests/month into instance-hours - extremely difficult, if even possible. It totally depends on:

  • how your app is implemented - how long does it take an instance to handle a request
  • your app's scaling configuration - only the automatic scaling has 28 free instance-hours: https://cloud.google.com/appengine/docs/quotas#Instances
  • your app's instance class configuration - different classes handle requests at different speeds and count differently in instance hours
  • what's the incoming request pattern/distribution - if you have peaks of requests hitting the app GAE will spawn additional (dynamic) instances to handle the load, possibly depleting the daily free quota. More details here.

The only real way to get and estimate is to build, run and measure your app's usage (within the free quota) and from there extrapolate.

IMHO it's more cost effective to actually go for billed apps and control costs through the daily spending limit.

Upvotes: 1

Alexander Trakhimenok
Alexander Trakhimenok

Reputation: 6278

There is no such thing as "session" limit on Google AppEgnine. You are limited by resource usage rather then usage patterns.

See https://cloud.google.com/appengine/docs/quotas for reference.

Upvotes: 0

Related Questions