An e-commerce platform needs to deploy a stateless microservice on Google Cloud to handle dynamic image transformation requests. The solution must support incoming HTTP/2 traffic with up to 250 concurrent requests per instance, utilize a custom Linux container image containing proprietary pre-compiled C++ binaries, and allow a request timeout of up to 30 minutes for batch image processing. Which Google Cloud compute option should the solution architect choose to meet these requirements?
- Cloud Run, because it supports custom container images with arbitrary binary dependencies, high per-instance concurrency, and request timeouts up to 60 minutes.Cevap
- BCloud Functions, because serverless execution automatically compiles raw source code and manages custom C++ binary dependencies without needing container packaging.
- CCompute Engine managed instance groups, because serverless products on Google Cloud cannot handle HTTP request timeouts exceeding 9 minutes.
- DCloud Functions, because it provides higher per-instance request concurrency than Cloud Run while enforcing single-thread CPU isolation.
Cevap
Cloud Run, because it supports custom container images with arbitrary binary dependencies, high per-instance concurrency, and request timeouts up to 60 minutes.
Cloud Run is the optimal choice because it runs stateless containers packaging any runtime or binary library (such as C++ dependencies), supports up to 1000 concurrent requests per instance over HTTP/2, and allows request timeouts up to 60 minutes.
Adım Adım Çözüm
Anahtar Kavram
Selecting Cloud Run for stateless containerized microservices requiring custom binary dependencies, high concurrency, and extended timeouts.