A Timeout Happened — Now What? Retry, Reconcile, Guard, or Fail

A Timeout Happened — Now What? Retry, Reconcile, Guard, or Fail A workflow diagram generated by Archify. 01 / Decision 02 / Idempotent Retry 03 / Read and Reconcile 04 / Guarded Write Classify the timeout Pick the recovery Request Timed Out · outcome unknown · Decision › Classify the timeout · goal: recover safely Request Timed Out outcome unknown goal: recover safely Operation Idempotent? · retry gives one effect · Decision › Classify the timeout · decide Operation Idempotent? retry gives one effect decide Outcome Queryable? · read what happened · Decision › Pick the recovery · decide Outcome Queryable? read what happened decide Write Needs Guard? · block stale writers · Decision › Pick the recovery · decide Write Needs Guard? block stale writers decide Fail the Request · surface the error · Decision › Pick the recovery · client decides Fail the Request surface the error client decides Retry with Idem Key · duplicate is ignored · Idempotent Retry › Classify the timeout · safest option Retry with Idem Key duplicate is ignored safest option Read Back State · then reconcile · Read and Reconcile › Pick the recovery · query, then act Read Back State then reconcile query, then act Fencing Token Write · storage rejects stale · Guarded Write › Pick the recovery · protects the write Fencing Token Write storage rejects stale protects the write yes no yes no yes no no reply came Legend Agent logic Policy Context / trace External system