google-cloud-functions-configuration

Installation
SKILL.md

Google Cloud Functions Configuration

Purpose

Google Cloud Functions ships as two distinct generations with materially different execution models: Gen1 runs on a purpose-built, single- concurrency-per-instance execution environment, while Gen2 runs on top of Cloud Run and Eventarc, giving it concurrent requests per instance, longer timeouts, and larger max instance counts — but also a different (and in some cases slower) cold-start profile and a different trigger/IAM plumbing underneath. Picking the wrong generation, or carrying over Gen1 scaling assumptions (maxInstances as a hard concurrency limit, one request per instance) into a Gen2 function, is a common source of unexpected throttling, cost, or latency. This skill covers choosing between generations, wiring triggers correctly for each, and setting min/max instance scaling deliberately rather than by default.

When to use

Installs
1
GitHub Stars
46
First Seen
Nov 10, 2026