Project

General

Profile

Feature #19972

Updated by Peter Amstutz over 1 year ago

arvados.Client currently does not perform any retry behavior when a request fails with a 5xx error. 

 5xx errors should be retried with a random backoff time.    Possible behavior: 

 1st attempt    wait 0-1 seconds 
 2nd attempt, wait 1-2 seconds 
 3nd attempt, wait 2-3 seconds 
 4nd attempt, wait 3-5 seconds 
 5th attempt, wait 5-8 seconds 

 The idea being that if the API server is overloaded, the clients should all select    different retry intervals so that they don't just flood the API server by all retrying at a fixed time. 

Back