Soru

Zorluk: OrtaPlanning Serverless Compute Options (Cloud Run and Cloud Functions)

An application development team is planning to host a stateless REST API on Google Cloud. The microservice is packaged as a Docker container that includes specialized Linux C libraries for image processing, and it must be configured to process up to 80 concurrent HTTP requests per instance to optimize resource utilization and lower costs. Which serverless compute option should the team select?

  1. Cloud RunCevap
  2. B
    Cloud Functions (1st gen)
  3. C
    Compute Engine Managed Instance Group
  4. D
    Google Kubernetes Engine (GKE) Standard

Cevap

Cloud Run
Cloud Run is the recommended serverless platform for deploying stateless HTTP microservices packaged as custom container images. It natively supports arbitrary binaries and allows adjusting concurrency settings so multiple requests are served concurrently by a single container instance.

Adım Adım Çözüm

1
Analyze workload requirements.
The microservice requires custom Docker containers (with C libraries), stateless HTTP execution, multi-concurrency (80 requests per instance), and zero infrastructure management.
Determining architectural boundaries for Google Cloud compute services.
2
Compare Cloud Run against alternative serverless and compute options.
Cloud Run supports any container image and configurable request concurrency. Cloud Functions source-based deployments do not natively support arbitrary custom containers with custom C libraries in standard runtimes, nor does 1st gen support concurrency.
Identifying the ideal fully managed serverless compute platform.

Anahtar Kavram

Selecting Cloud Run for containerized workloads requiring custom system binaries and request concurrency
Bu soruyu puanla