_CORE
AI & Agentic Systems Core Information Systems Cloud & Platform Engineering Data Platform & Integration Security & Compliance QA, Testing & Observability IoT, Automation & Robotics Mobile & Digital Banking & Finance Insurance Public Administration Defense & Security Healthcare Energy & Utilities Telco & Media Manufacturing Logistics & E-commerce Retail & Loyalty
References Technologies Blog Know-how Tools
About Collaboration Careers
CS EN
Let's talk

Google Cloud Functions — Serverless v2

09. 06. 2023 1 min read intermediate

Cloud Intermediate

Google Cloud Functions — Serverless v2

GCPCloud FunctionsServerlessFaaS 5 min read

Cloud Functions 2nd gen, Eventarc triggery, concurrency a secrets.

2nd Gen

gcloud functions deploy process-order \
  --gen2 --runtime=nodejs20 --region=europe-west1 \
  --trigger-topic=orders --memory=512MB \
  --min-instances=1 --max-instances=100 --concurrency=10

2nd gen = Cloud Run pod kapotou → concurrent requests, delší timeout.

Eventarc triggery

  • Pub/Sub, Cloud Storage, Firestore, Audit Logs, HTTP

Concurrency model

Concurrency 10 + max 100 instances = 1000 paralelních requestů. Efektivnější než Lambda.

Summary

Cloud Functions 2nd gen = výrazný upgrade. Pro nové projekty vždy 2nd gen.

Need Help with Implementation?

Our team has experience designing and implementing modern architectures. We’re happy to help.

Free Consultation

Share:

CORE SYSTEMS tým

Stavíme core systémy a AI agenty, které drží provoz. 15 let zkušeností s enterprise IT.