Skip to main content

Cloud Functions


What is it

Cloud Functions is a Functions-as-a-Service runtime in Google Cloud for building completely serverless functions, in an array of possible languages, that handle HTTP requsets or Cloud Pub/Sub messages.

Why it's on hold

We prefer Cloud Run over Cloud Functions, especially when developing Go services.

We have found that it's easier to reason about the startup and shutdown behavior of a plain Go application orchestrated by Cloud Run, compared with a Go application orchestrated with Cloud Functions, where the special init() function or sync.Once is commonly used for application initialization.