Cisco
300-535 · Question #109
What is a challenge of consuming an API synchronously?
The correct answer is A. The response is slow for all services that are affected by a single microservice slow response. When consuming an API synchronously, the client must wait for the server's response before continuing, so if a single microservice responds slowly, it delays the entire process for all dependent services.
Automation APIs and Protocols
Question
What is a challenge of consuming an API synchronously?
Options
- AThe response is slow for all services that are affected by a single microservice slow response.
- BThe Status Code:301 is returned.
- CHigh polling frequencies waste server resources and network bandwidth.
- DAJAX requests are sent frequently by users.
How the community answered
(16 responses)- A75% (12)
- B6% (1)
- C6% (1)
- D13% (2)
Explanation
When consuming an API synchronously, the client must wait for the server's response before continuing, so if a single microservice responds slowly, it delays the entire process for all dependent services.
Topics
#synchronous API#microservices#API latency#REST API design
Community Discussion
No community discussion yet for this question.