Soru

Zorluk: OrtaSelecting and Designing Compute and Application Platforms

A healthcare technology company is building a stateless microservice to validate and convert patient intake records sent as JSON payloads via webhooks. The workload experiences highly unpredictable traffic, ranging from zero requests overnight to thousands of concurrent requests during peak hours. Each request takes less than two minutes to process. The architecture team requires a solution that minimizes operational management overhead, scales to zero automatically to reduce costs, and runs containerized applications without managing underlying infrastructure. Which Google Cloud compute platform should you recommend?

  1. Deploy the containerized service on Cloud Run.Cevap
  2. B
    Deploy the containerized service on a Google Kubernetes Engine (GKE) Standard cluster with Cluster Autoscaler enabled.
  3. C
    Deploy the service on a Compute Engine Managed Instance Group (MIG) configured with CPU utilization autoscaling.
  4. D
    Provision Compute Engine instances backed by 3-year Committed Use Discounts (CUDs) to host the microservice.

Cevap

Deploy the containerized microservice on Cloud Run, as it fully manages container execution, scales to zero during idle periods, and minimizes operational overhead for stateless HTTP workloads.
Deploying on Cloud Run is the optimal design choice because Cloud Run is a fully managed serverless compute platform designed specifically for stateless containerized web services. It automatically scales instances up and down responsively based on incoming requests (including scaling to zero when idle) and removes all cluster management, node patching, and infrastructure provisioning responsibilities.

Adım Adım Çözüm

1
Analyze workload statefulness and traffic pattern requirements.
The microservice is stateless, processes short-duration HTTP webhooks (under two minutes), and experiences unpredictable traffic including idle periods.
Serverless container platforms are ideal for stateless, request-driven HTTP workloads with bursty traffic profiles.
2
Evaluate operational overhead and scaling constraints.
Cloud Run provides scale-to-zero capabilities and requires zero cluster or virtual machine management.
GKE Standard and Compute Engine MIGs introduce management burden and minimum baseline node charges.
3
Select the optimal compute platform based on GCP architectural best practices.
Cloud Run offers the optimal balance of zero infrastructure management, automatic scaling, and cost efficiency.
It directly satisfies the requirement for containerized deployment with minimal management effort and scale-to-zero functionality.

Anahtar Kavram

Compute Platform Selection: Cloud Run vs GKE vs Compute Engine MIG
Bu soruyu puanla