Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jwatte
on Jan 6, 2017
|
parent
|
context
|
favorite
| on:
Select(2) is fundamentally broken
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
on Jan 7, 2017
[–]
> You should never, ever, create one thread per socket
Really? that's how MySQL works.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: