ボトルネックは、プログラム言語の遅さではなくデータベースやネットワークの方にある

Matz氏の引用

http://www.rubyist.net/~matz/20080628.html#p01

月間10億PVということは、平均毎秒400アクセス弱、ピーク時だと数千とかになりそう。

Rubyが遅くても、結局はボトルネックは別のところ(ネットワークかデータベース)にあるという仮説を裏づける内容。実際、楽天とかでも問題なく動いてるしな。

元ネタは、TwitterRuby on Railsで動いているんだけれど、
http://blogs.zdnet.com/enterprisealley/?p=188

Twitterの処理数の話

According to Meyer, the net result is that the more time people can play with an application, the more likely they are to pull people in which helps make applications viral. Bumpersticker averages 1.4 million daily users, peeking at 1.7 million and each use includes around 2o page views. That calculates out to around 1 billion page views per month. Joyent, which provides LinkeIn’s cloud computing environment claims this amounts to transfer rates of 1 gigabit per second sustained transfer rate and around 100TB per month of data transferred. LinkedIn achieves this by throwing as much content as possible at Joyent’s F5 load balancers.

ユーザー数: 平均140万/日、ピークは170万
ビュー: 10億ページ/月
転送量: 1GBit/秒、100テラバイト/月

ふぅ、Twitterはすごい量をさばいている。