epoll() performance 的改善:Comparing and Evaluating epoll, select, and poll。這篇文章裡提到了
epoll() 在 idle connection 很少的情況下,與 poll() 或 select() 改善的空間不會太多,大概就只有省下從 kernel 要修改 userland space 的時間吧。對於 Connection 數目很大的 HTTP server (所謂的 The C10K problem),BSD 上的
ACCEPT_FILTER_HTTP 還是很重要,可以省下 accept() 進來卻慢慢送 Header 的情況 :p
No comments:
Post a Comment