A Python script polls a Cloud operation until completion. Which approach best handles eventual consistency and avoids infinite waiting or premature termination?

Answer

Use exponential backoff with jitter, honor server-provided retry hints/timeouts, and set a global deadline

Explanation

Backoff+jitter reduces API load and a global deadline prevents indefinite waits while accommodating eventual consistency.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list