If our microservice keeps timing out against one endpoint all the time, there is no point keep trying, at least for some time
- 2. Designing Microservices
- from Microservices for the Enterprise: Designing, Developing, and Deploying
- Publisher: Apress
- Released: November 2018
Perhaps. Alternatively, perhaps it is the peak usage time of day for your system and the timeouts can be attributed to a timeout limit set too restrictively. 60 seconds may have been sufficient to trap timeouts during periods of low system utilization, but you may find that had the database requests been allowed 75 seconds to complete that they would have returned successfully. This is a case where a second timeout threshold for peak usage times of the day would be preferable to a circuit breaker.
Share this highlighthttp://www.safaribooksonline.com/a/microservices-for-the/20436560/