Cloud Run Admin API read/write request quota limits

164 views
Skip to first unread message

Adriano Matos

unread,
Jun 27, 2022, 5:48:22 PM6/27/22
to Google Cloud Developers
I am trying to set quota limits to my Cloud Run services, but I'd like to get a better understanding on some terms before I start playing with numbers I'm unsure about.
I was wondering what exactly is a "read request" with Cloud Run? Is states here in the documentation:

"The number of API reads per 60 seconds per project. This is not the number of read requests to your Cloud Run services, which is not limited."

but I still can't wrap my brain around what this means. Can I think of it synonymously to a single run within a Cloud Run instance? If that is true, then what would be considered a "write request"?

Here is an example: say I have a Cloud Run instance integrated with Pub/Sub. So whenever a message gets pushed into a topic, an instance of my Cloud Run service is created. Say there are 5 messages, which should trigger 5 requests to my Cloud Run service. Would the number of read requests in this example be 5?

Andres Marquez Rodriguez

unread,
Jun 28, 2022, 3:55:43 PM6/28/22
to Google Cloud Developers

API write requests are essentially the calls made from your application to the Cloud Run API [1] to update the disk. These would be calls of the write operations to the disk (in bytes/sec). Since the number of resources in Cloud Run are limited, quotas are established for Cloud Run that encompasses API rate limits.


[1] https://cloud.google.com/run/docs/reference/rest?hl=sv
Reply all
Reply to author
Forward
0 new messages