タグ

関連タグで絞り込む (1)

タグの絞り込みを解除

httpdに関するyyamanoのブックマーク (2)

  • ApacheとNginxの性能比較でevent_mpmの本気を見た

    はい、これは僕がいつも良く見るApacheとNginxの性能差に見えます。大体、ApacheはNginxの75%程度の性能に落ち着きます。数十バイトの静的コンテンツに対するリクエスト処理はNginxの得意分野だと思っていたので、大体こんなものです。 そこで、真面目にevent_mpmのチューニングを行ってみました。で、幾度となくベンチを試した結果導き出した、静的コンテンツに対する同時接続数100程度に対して最高のパフォーマンスを示すevent_mpmの設定は以下のようになりました。 [program lang=’apache’ escaped=’true’] StartServers 4 MinSpareThreads 4 MaxSpareThreads 4 ThreadsPerChild 2 MaxRequestWorkers 2 MaxConnectionsPerChild 0 [/p

    ApacheとNginxの性能比較でevent_mpmの本気を見た
  • Why I Hate CGI - My Beautiful Code Blog at Starling Software

    In a change from things beautiful, here’s a post about something not-beautiful. A recent message on the Haskell web-devel list asking about the meaning of the word “gateway” triggered this rant. CGI stands for “common gateway interface,” and is basically: a web server invoking another program, with a specifically defined set of environment variables set to various values related to the request and

    yyamano
    yyamano 2009/02/24
    FastCGI とlighttpd。”x-send-file: /some/path” とsendfile()
  • 1