タグ

2011年5月28日のブックマーク (3件)

  • A little holiday present: 10,000 reqs/sec with Nginx! » WebFaction Blog

    A little holiday present: 10,000 reqs/sec with Nginx! Posted in Server setup December 18, 2008 by webfaction Updated Dec 19 at 05:15 CDT (first posted Dec 18 at 06:01 CDT) by Remi A few weeks ago we quietly started to configure our new machines with Nginx as the front web server instead of Apache (we still run Apache behind Nginx for people who need all the features from Apache). Here is a little

    akymrk
    akymrk 2011/05/28
    apche v.s. nginxのベンチマークでよく使われるグラフのネタもと。
  • Is node.js best for Comet? - amix.dk

    At Plurk we process many millions of comet notifications pr. day and so far we have processed billions of them. It's comet at a very large scale and I think we are one of the biggest users of comet technology on the Internet. We use comet to deliver realtime updates to the users so they can plurk in realtime with their friends. Scaling this has been a challenge and we have tried many different sol

  • JavaScript:undefined値の判定

    JavaScriptでは初期化されていない変数には全て「undefined」という値が入っています。 var a; alert(a); //undefinedが入っている これを利用して、変数が定義済みかどうかを判別することが可能です。…が、やり方がいろいろあるみたいなので、まとめてみることにします。 undefinedと比較する if (a === undefined) { alert("aは未定義"); } グローバル変数として、そのまんまundefinedという名前の変数が用意されているので、それと比較するやり方。一番素直な方法ですが、JavaScriptにおいては良くない書き方とされています。 undefinedは予約語ではなく、単なる変数です。だから上書きすることができるし、関数スコープ内で同名のローカル変数を作ることもできます。(ただし最近の処理系ではconst扱いになって上書

    JavaScript:undefined値の判定