about summary refs log tree commit homepage
diff options
authorEric Wong <normalperson@yhbt.net>2011-05-16 14:12:27 -0700
committerEric Wong <normalperson@yhbt.net>2011-05-16 14:12:27 -0700
commitbc4f5510cd0e5ccf85f077cca019bca70309bf01 (patch)
parentbcd0825fc77a2986aebb3f1f5a653a64faf6a8c5 (diff)
* improved documentation all around, suggestions/comments to further
  improve documentation is greatly welcome at: rainbows-talk@rubyforge.org

* added GPLv3 option to the license (now (Ruby|GPLv2|GPLv3), though
  Unicorn is still (Ruby|GPLv2) for now)

* added client_header_buffer_size config directive (default 1K)

* small default header buffer size (16K => 1K) to reduce memory usage,
  Rails apps with cookie sessions may want to increase this (~2K)

* all concurrency models default to 50 connections per process

* all concurrency models with a secondary :pool_size parameter also
  default to 50 (threads/fibers/whatever)

* RLIMIT_NOFILE and RLIMIT_NPROC are automatically increased if needed

* Rainbows::ThreadTimeout middleware rewritten, still not recommended,
  lazy people should be using Unicorn anyways :)

* Several experimental Linux-only edge-triggered epoll options:
  XEpollThreadSpawn, XEpollThreadPool, XEpoll, and Epoll.
  The latter two were in previous releases but never announced.
  These require the "sleepy_penguin", "raindrops", and "sendfile" RubyGems

=== Deprecations

* Rainbows::Fiber::IO* APIs all deprecated, Rainbows! will avoid
  having any concurrency model-specific APIs in the future and
  also avoid introducing new APIs for applications.

* Fiber-based concurrency models are no longer recommended, they're
  too fragile for most apps, use at your own risk (they'll continue to
  be supported, however).  Linux NPTL + Ruby 1.9 is pretty lightweight
  and will be even lighter in Ruby 1.9.3 if you're careful with stack
  usage in your C extensions.
2 files changed, 2 insertions, 2 deletions
index 65262ac..13de44a 100755
@@ -1,7 +1,7 @@
diff --git a/lib/rainbows/const.rb b/lib/rainbows/const.rb
index 1d25b2a..a758fba 100644
--- a/lib/rainbows/const.rb
+++ b/lib/rainbows/const.rb
@@ -2,7 +2,7 @@
 # :enddoc:
 module Rainbows::Const
   include Unicorn::Const