Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 990 Bytes

File metadata and controls

39 lines (30 loc) · 990 Bytes

Timeout

Motivation

Solution

Concepts

  • Set a limited period of time to wait for a response.

Implementation

Advice

  • Timeout often works with retry, circuit breaker and fallback patterns.

Pros & Cons

Pros

  • Avoid waiting forever for a response that might never come.
  • Unbounded result sets by preventing the client from processing the entire result set.
  • Avoid cascading failures.

Cons

Consideration

Topic Consideration Possible Solution Options

When To Use

References