A financial quantitative trading firm is designing a web microservice on Google Cloud to handle real-time HTTP REST market data validation. The workload is completely stateless, packaged into standard Docker container images, and experiences extreme traffic fluctuations—scaling down to zero traffic outside of trading hours and bursting to thousands of HTTP requests per second during peak market volatility. The development team has no dedicated infrastructure management capacity and requires a compute execution environment with minimal operational overhead and zero cost during idle periods. Which Google Cloud compute platform should you recommend?
- Deploy the containerized service directly to Cloud Run.Cevap
- BDeploy the service workloads onto a Google Kubernetes Engine (GKE) Autopilot cluster.
- CDeploy the container workloads onto a Compute Engine Managed Instance Group (MIG) configured with CPU-based autoscaling.
- DDeploy the container workloads onto Compute Engine Sole-Tenant Nodes with automated instance scaling.
Cevap
Deploy the containerized service directly to Cloud Run.
Cloud Run is the optimal platform choice because it is a fully managed serverless container environment designed specifically for stateless HTTP workloads. It automatically scales instances down to zero when there is no traffic (eliminating idle infrastructure costs) and rapidly scales up to handle heavy demand spikes, all while removing the operational burden of infrastructure provisioning, OS patching, and cluster management.
Adım Adım Çözüm
Anahtar Kavram
Selecting serverless compute platforms (Cloud Run) vs. container orchestration (GKE) or IaaS (Compute Engine) based on statelessness, scale-to-zero capabilities, and operational maintenance overhead.