|
|
|
|
|
by zedshaw
5801 days ago
|
|
Wow here we are again, you not reading my article. I ran the same test that everyone else runs for poll vs. epoll, then used R to craft graphs and tested hypothesis. It was not a localhost test. So far all you've got is trolling HN comments. YOU WIN! |
|
If you have tested this on real live servers then there is no evidence of that in your posting, and to suggest that this:
http://dpaste.de/32o8/
is anything but a localhost test is simply bogus.
The only use case where you may be right that poll is advantageous as far as I can see is streaming media servers (video, audio, other large files), image servers are the ones with the worst active-to-total ratios, especially if the images are small. I should know, I only serve up a few billion of them every day. A few years ago or so I was stupid enough to think that video was hard, man was I ever wrong. Repeated connections to the same host, that's a much bigger killer than pumping bits.