longblocking
Longblocking is a term used in discussions of concurrent and distributed systems to describe operations that remain blocked for an extended period, delaying progress for a thread, process, or component. It contrasts with short blocking or non-blocking I/O by focusing on the duration of the block rather than the type of operation. Longblocking can occur in any layer of a system where a task waits for external input, resources, or computation to complete.
Causes and manifestations. Common causes include slow external services, high-latency network calls, database queries with long-running
Mitigation strategies. Approaches to reduce longblocking focus on reducing wait times and isolating blocked components. Techniques
Examples. A database query that takes seconds to return, a remote API call with high latency, or
See also. Blocking I/O, non-blocking I/O, tail latency, backpressure, circuit breaker, timeout.