An enterprise healthcare platform uses Compute Engine Managed Instance Groups (MIGs) to run I/O-bound microservices that ingest and process HL7 FHIR clinical data streams. During peak admission hours, processing delays increase significantly because the instances fail to scale out, even though individual VM CPU utilization remains below 25%. Furthermore, a planned hospital integration next month is projected to triple the baseline event volume. Which combination of actions should the Cloud Architect take to resolve the autoscaling issue and ensure capacity for the expansion?
- Configure the MIG autoscaler using a Cloud Monitoring custom metric representing active connection queue length, and submit a regional vCPU quota increase request prior to the planned hospital integration.Answer
- BLower the MIG autoscaler target CPU utilization threshold from 80% to 15% to force earlier instance scale-out during ingestion bursts.
- CRe-architect the workload by migrating the microservice to a Google Kubernetes Engine (GKE) cluster with Horizontal Pod Autoscaler (HPA) configured on CPU memory consumption.
- DConfigure custom metric autoscaling based on queue depth, but defer requesting regional Compute Engine quota increases until the MIG triggers quota limit alerts during production traffic spikes.
Answer
Configure the MIG autoscaler using a Cloud Monitoring custom metric representing active connection queue length, and submit a regional vCPU quota increase request prior to the planned hospital integration.
For I/O-bound applications, scaling metrics based on CPU utilization fail to capture true workload bottlenecks. Utilizing Cloud Monitoring custom metrics (such as active connection queue length or Pub/Sub depth) enables the MIG autoscaler to respond dynamically to load. Furthermore, capacity planning requires requesting compute quota increases in advance to ensure the cloud infrastructure can scale up without encountering platform quota caps during anticipated traffic increases.
Step-by-Step Solution
Key Concept
Auto-scaling for I/O-bound workloads requires custom telemetry metrics (such as queue depth), while capacity planning mandates proactive resource quota management prior to workload expansion.