最近、 NeverBlock の周辺の動きが面白い。

What is it all about?

NeverBlock is a Ruby library that allows developers to write non-blocki ng, concurrent code in a transparen t manner. Meaning that you will keep coding in your traditiona l ways while you get the benefit of non-blocki ng IO operations .

LL futureの講演者控え室で、まつもとさん、高橋さんから、 その辺の話を伺う機会がありましたが、 NeverBlock はRuby-1.9普及の引き金になるかもしれない。 なぜなら、NeverBlock はRuby-1.9のFiberに依存したライブラリで、 Ruby-1.9が無いと利用できないからだ。

Building the Never Blocking Rails, Making Rails 12X Faster

They told you it can't be done, they told you it has no scale. They told you lies! What if you suddenly had the ability to serve mutliple concurrent requests in a single Rails instance? What if you had the ability to multiplex IO operations from a single Rails instance? No more what ifs. It has been done.

NeverBlock を使うとRailsが12倍速くなるらしい。

MySQLPlus: A Non-Blocki ng MySQL Driver for Ruby 1.8 and 1.9

MySQLPlus is billed as a new general purpose MySQL driver that supports "threaded access and async operations "

NeverBlock を使うために作られたMySQL用の新しいドライバらしい。

See Also