O'Reilly logo
  • Derek Harmon thinks this is interesting:

If our microservice keeps timing out against one endpoint all the time, there is no point keep trying, at least for some time

From

Cover of Microservices for the Enterprise: Designing, Developing, and Deploying

Note

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.