google-apps-scriptweb-applicationsquota

How do Google Apps Script quotas work for doGet and doPost functions in web apps?


I've read https://developers.google.com/apps-script/guides/services/quotas and understand what the quotas are and how they work.

What I can't figure out is how the quotas apply to web apps, specifically with the doGet and doPost functions?

For example:

I understand the quotas are applied to the user how owns the web app. I just can't figure out which quotas apply for the web content side of things. Obviously Script runtime applies but what else?


Solution

  • The following quotas(consumer edition) apply:

    UrlFetch quotas (like 50MB/Post size) may also apply to doPost().

    Note however that these quotas typically don't apply to you, but to the user, if script is set to execute as "User accessing the webapp". Therefore, a single user can't simultaneously execute script 30 times in a short time(if published to execute as "User accessing the web-app")