Linux epoll() performance
在找一些資料的時候發現 zmx 的舊文章 (也沒有很舊,半年前的文章),談 Linux
這篇文章裡提到了
對於 Connection 數目很大的 HTTP server (所謂的 The C10K problem),BSD 上的
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

0 Comments:
Post a Comment
Links to this post:
Create a Link
<< Home