Your organization needs to deploy a stateless REST API packaged as a custom Docker container image containing a legacy C++ binary dependency. The API must scale down to zero instances during idle periods to minimize costs and be capable of processing up to 80 concurrent HTTP requests per container instance. Which Google Cloud serverless compute option should you recommend?
- Cloud RunCevap
- BCloud Functions (1st gen)
- CCloud Functions (2nd gen)
- DCompute Engine with Spot VMs
Cevap
Cloud Run is the correct choice because it natively executes custom stateless container images with non-standard binary dependencies, supports multi-request concurrency per instance, and scales down to zero when idle.
Cloud Run is a fully managed serverless platform built to run stateless container images that listen for web requests. It natively accommodates custom C++ binaries built into the container, handles request concurrency (such as 80 concurrent requests per container instance), and automatically scales down to zero instances when no traffic is present.
Adım Adım Çözüm
Anahtar Kavram
Selecting Cloud Run for containerized serverless workloads with custom binary dependencies and request concurrency.