client: use kgio_write across the board
[rainbows.git] / lib / rainbows / rev_thread_pool.rb
blob844651a98ae8e9bb670d28a7c19133745ebe6931
1 # -*- encoding: binary -*-
2 # :stopdoc:
3 Rainbows.const_set(:RevThreadPool, Rainbows::CoolioThreadPool)
4 # :startdoc:
6 # CoolioThreadPool is the new version of this, use that instead.
8 # A combination of the Rev and ThreadPool models.  This allows Ruby
9 # Thread-based concurrency for application processing.  It DOES NOT
10 # expose a streamable "rack.input" for upload processing within the
11 # app.  DevFdResponse should be used with this class to proxy
12 # asynchronous responses.  All network I/O between the client and
13 # server are handled by the main thread and outside of the core
14 # application dispatch.
16 # Unlike ThreadPool, Rev makes this model highly suitable for
17 # slow clients and applications with medium-to-slow response times
18 # (I/O bound), but less suitable for sleepy applications.
20 # This concurrency model is designed for Ruby 1.9, and Ruby 1.8
21 # users are NOT advised to use this due to high CPU usage.
22 module Rainbows::RevThreadPool; end