Explain the difference between blocking, non-blocking, and asynchronous I/O.

Last updated 5 July 2026

  • Blocking I/O puts the calling thread to sleep until the operation completes.

  • Non-blocking I/O returns immediately (e.g. EWOULDBLOCK) if not ready, so the caller retries using readiness tools like select or epoll.

  • Asynchronous I/O has the kernel do the whole operation and notify on completion (e.g. io_uring, POSIX aio), so the caller never waits or re-issues.

  • https://growthequityinterviewguide.com/firms/b-capital
  • https://www.interviewbit.com/sre-interview-questions/
All Operating Systems interview questions