Topic 1 Question 24
A small number of API requests to your microservices-based application take a very long time. You know that each request to the API can traverse many services. You want to know which service takes the longest in those cases. What should you do?
Set timeouts on your application so that you can fail requests faster
Send custom metrics for each of your requests to Stackdriver Monitoring
Use Stackdriver Monitoring to look for insights that show when your API latencies are high
Instrument your application with Stackdriver Trace in order to break down the request latencies at each microservice
ユーザの投票
コメント(17)
D is correct !
👍 23euclid2019/12/24D. Instrument your application with Stackdriver Trace in order to break down the request latencies at each microservice
Stackdriver Trace is a distributed tracing system that allows you to understand the relationships between requests and the various microservices that they touch as they pass through your application. By instrumenting your application with Stackdriver Trace, you can get a detailed breakdown of the latencies at each microservice, which can help you identify which service is taking the longest in those cases where a small number of API requests take a very long time.
Setting timeouts on your application or sending custom metrics to Stackdriver Monitoring may not provide the level of detail that you need to identify the specific service that is causing the latency issues. Looking for insights in Stackdriver Monitoring may also not provide the necessary level of detail, as it may not show the individual latencies at each microservice.
👍 4omermahgoub2022/12/20Go for D
👍 3haroldbenites2021/12/04
シャッフルモード