QuestionQ62

VerifiedBuilding and testing applications

You have an application running in App Engine that is instrumented with Stackdriver Trace. The /product-details request returns details about four known, unique products at /sku-details, as shown below. You want to decrease the time required for the request to finish.

What should you do?

Question Image

Explanation

The four independent /sku-details web-service calls are on the request’s sequential latency path, so their durations accumulate. Performing those calls in parallel overlaps their network and service-processing time, reducing overall /product-details latency to approximately the longest individual call plus overhead. App Engine supports concurrent request handling.

Learn more

Community Discussion

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