Explain select, poll and epoll
EasyConcept10 minSWE
The question
A server must handle many network connections in one thread. Explain how select, poll and epoll differ and which you would choose for ten thousand connections.
What the interviewer is looking for
- Explains readiness notification
- Knows select has a descriptor limit and copies sets each call
- Knows epoll keeps state in the kernel and returns only ready descriptors
- Mentions level versus edge triggering
Your answer
Saved in this browser only. Nobody else sees it.
Why this question
Written by BlogLLM in the style of a publicly reported MiniMax question type: IO multiplexing and inter-process communication.
Reported in: api-cdn.nowcoder.com
Practice question written by BlogLLM based on publicly reported interview formats. Not an official MiniMax question.