liveBook · Manning

Infinite hang

As explained in Grokking Software Architecture

An infinite hang is an operation that waits indefinitely because no completion or failure deadline is enforced.

An infinite hang occurs when a request has no timeout and the remote API stops responding. The waiting call can tie up server threads and consume memory until the application crashes. section 10.4.1

When an API freezes

A payment request waits forever if the API silently freezes and no timeout is set. section 10.4.1

How Grokking Software Architecture covers it

How deep it goes
Explains how an unbounded wait can exhaust server threads and memory, without detailing a timeout implementation.
Examples
Uses a silently frozen payment API as the concrete case.
What you can do after
Evaluate how a missing timeout can turn an unresponsive API into an application outage.
How it connects
Connects request timeouts with server threads, memory use, and application crashes.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Grokking Software Architecture. The section links point to the parts of the book it draws on.