QuestionQ138

VerifiedEnsuring the successful operation of a cloud solution

You are running a web application on Cloud Run for a few hundred users. Some of your users complain that the initial web page of the application takes much longer to load than the following pages. You want to follow Google’s recommendations to mitigate the issue. What should you do?

Explanation

Setting a minimum number of instances (e.g., 3) for Cloud Run keeps instances warm and ready to handle requests immediately, eliminating cold-start delays on initial requests. Cold starts occur when the platform must instantiate new containers. Setting concurrency to 1 (B) reduces throughput; maximum instances (C) don't prevent cold starts; HTTP/2 (D) has minimal impact on the initial page load problem.

Community Discussion

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