DEPLOY FAQ HACKING LICENSE NEWS README SIGNALS Sandbox Static_Files Summary TUNING Test_Suite rainbows_1 vs_Unicorn
Rainbows ActorSpawn AppPool Base Configurator Coolio CoolioThreadPool CoolioThreadSpawn DevFdResponse Epoll EventMachine FiberPool FiberSpawn MaxBody NeverBlock Rev RevFiberSpawn RevThreadPool RevThreadSpawn Revactor Sendfile ServerToken StreamResponseEpoll ThreadPool ThreadSpawn ThreadTimeout WriterThreadPool WriterThreadSpawn XEpoll XEpollThreadPool XEpollThreadSpawn

module Rainbows::Revactor

Enables use of the Actor model through Revactor under Ruby 1.9.

Revactor dormant upstream, so the use of this is NOT recommended for new applications.

It spawns one long-lived Actor for every listen socket in the process and spawns a new Actor for every client connection accept()-ed. worker_connections will limit the number of client Actors we have running at any one time.

Applications using this model are required to be reentrant, but do not have to worry about race conditions unless they use threads internally. Rainbows! does not spawn threads under this model. Multiple instances of the same app may run in the same address space sequentially (but at interleaved points). Any network dependencies in the application using this model should be implemented using the Revactor library as well, to take advantage of the networking concurrency features this model provides.

RubyGem Requirements

Included modules: Rainbows::Base
Pages Classes Methods


mail archives: https://yhbt.net/rainbows-public/
	http://ou63pmih66umazou.onion/rainbows-public/ 
	nntp://news.public-inbox.org/inbox.comp.lang.ruby.rainbows 
	nntp://ou63pmih66umazou.onion/inbox.comp.lang.ruby.rainbows 
	nntp://news.gmane.io/gmane.comp.lang.ruby.rainbows.general 
public: rainbows-public@yhbt.net
source code: git clone https://yhbt.net/rainbows.git
	torsocks git clone http://ou63pmih66umazou.onion/rainbows.git