3 ms·
You should never, ever, create one thread per socket. The choice is between select, polled IO, or events. Sadly, UNIX doesn't have a good unified asynchronous I
by jwatte 10y ago
You should never, ever, create one thread per socket. The choice is between select, polled IO, or events.
Sadly, UNIX doesn't have a good unified asynchronous IO model, like OVERLAPPED and IOCP on NT.
- snnn 10y ago> You should never, ever, create one thread per socket Really? that's how MySQL works.