Hacker News new | ask | show | jobs
by tele_ski 2232 days ago
Normally I'd expect an epoll implementation to epoll_ctl to make sure the socket can be written to without blocking. In this benchmark it probably makes no difference but I would think it would make the results a little more inline with a real applications usage of epoll.
1 comments

This a bare minimal echo server for educational purposes. It is not inline with a real world event loop.
Yeah I understand that, but if you are going for identical performance characteristics of how epoll would normally be used then I would expect it to re-register. Thats all I was getting at.