From 2260d56329b036bcce7eb69831d3e480334d283c Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 14 May 2010 18:12:51 -0700 Subject: add WriterThreadPool concurrency model This is based on an idea I originally had for Unicorn but never implemented in Unicorn since the benefits were unproven and the risks were too high. --- lib/rainbows.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/rainbows.rb') diff --git a/lib/rainbows.rb b/lib/rainbows.rb index 16e2662..d97262f 100644 --- a/lib/rainbows.rb +++ b/lib/rainbows.rb @@ -134,6 +134,7 @@ module Rainbows # highly recommended MODEL_WORKER_CONNECTIONS = { :Base => 1, # this one can't change + :WriterThreadPool => 1, :Revactor => 50, :ThreadSpawn => 30, :ThreadPool => 20, -- cgit v1.2.3-24-ge0c7