Blocking I/O
An I/O operation that halts the thread until data is available or written.
When a thread reads from a network or file with blocking I/O, it stalls completely—no other code in that thread can run—until the operation finishes. It's simple to reason about but creates problems in server contexts: a server with 1000 clients would need 1000 threads if each is blocked in its own I/O operation, and context switching between threads becomes expensive.
That's why modern servers use non-blocking I/O with event loops or async-await to handle thousands of clients with few threads. Blocking I/O is still the right choice for simple single-threaded code or CPU-bound work.