diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-12-27 08:57:31 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-12-27 09:17:45 +0000 |
commit | 2b85ea421197af84a13f6062b21ddcf61490ebcf (patch) | |
tree | c0c23b154fa0955fde13e02fc80c2941ae5498c0 /lib/rainbows/coolio_fiber_spawn.rb | |
parent | 87a38d1a5658938a3540b45ab04cc85a9135c8f0 (diff) | |
download | rainbows-2b85ea421197af84a13f6062b21ddcf61490ebcf.tar.gz |
This is also our website, so we need to document the new Cool.io-based concurrency options for users and point existing Rev* users to it.
Diffstat (limited to 'lib/rainbows/coolio_fiber_spawn.rb')
-rw-r--r-- | lib/rainbows/coolio_fiber_spawn.rb | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/lib/rainbows/coolio_fiber_spawn.rb b/lib/rainbows/coolio_fiber_spawn.rb index 272d111..6e573b4 100644 --- a/lib/rainbows/coolio_fiber_spawn.rb +++ b/lib/rainbows/coolio_fiber_spawn.rb @@ -1,2 +1,13 @@ -# :enddoc: +# -*- encoding: binary -*- +# :stopdoc: Rainbows.const_set(:CoolioFiberSpawn, Rainbows::RevFiberSpawn) +# :startdoc: + +# A combination of the Coolio and FiberSpawn models. This allows Ruby +# 1.9 Fiber-based concurrency for application processing while +# exposing a synchronous execution model and using scalable network +# concurrency provided by Cool.io. A "rack.input" is exposed as well +# being Sunshowers-compatible. Applications are strongly advised to +# wrap all slow IO objects (sockets, pipes) using the +# Rainbows::Fiber::IO or a Cool.io-compatible class whenever possible. +module Rainbows::CoolFiberSpawn; end |