QuestionQ41

VerifiedDesigning scalable, available, and reliable cloud-native applications

You are building a public web application on Cloud Run and expose the Cloud Run service directly through its public IP address. You are now conducting a load test to confirm that the application remains resilient under high traffic loads. You observe that the application performs as expected under light traffic. However, when you generate heavy loads, the web server becomes slow and returns error messages. How should you troubleshoot this problem?

Explanation

Cloud Run normally adds instances as request load increases, but a configured maximum-instance limit can prevent further scale-out. Once all permitted instances are busy, new inbound requests may wait for an available instance and fail if capacity does not become available. Checking the instance-count metric and increasing max-instances when the service is at that limit addresses this capacity constraint.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!