doc: misc cleanups and additions for RDoc
[rainbows.git] / lib / rainbows / coolio_thread_spawn.rb
blob81591d9599e1ab191b1ffff956997c321ca4a23c
1 # -*- encoding: binary -*-
2 # :stopdoc:
3 Rainbows.const_set(:CoolioThreadSpawn, Rainbows::RevThreadSpawn)
4 # :startdoc:
6 # A combination of the Coolio and ThreadSpawn models.  This allows Ruby
7 # Thread-based concurrency for application processing.  It DOES NOT
8 # expose a streamable "rack.input" for upload processing within the
9 # app.  DevFdResponse should be used with this class to proxy
10 # asynchronous responses.  All network I/O between the client and
11 # server are handled by the main thread and outside of the core
12 # application dispatch.
14 # Unlike ThreadSpawn, Cool.io makes this model highly suitable for
15 # slow clients and applications with medium-to-slow response times
16 # (I/O bound), but less suitable for sleepy applications.
18 # This concurrency model is designed for Ruby 1.9, and Ruby 1.8
19 # users are NOT advised to use this due to high CPU usage.
20 module Rainbows::CoolioThreadSpawn; end