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::Epoll

Edge-triggered epoll concurrency model using sleepy_penguin for epoll.

Unlike more portable options like Coolio and EventMachine, this is Linux-only, but uses edge-triggering instead of level-triggering, so it may perform better in some cases. Coolio and EventMachine have better library support and may be widely-used, however.

Consider using XEpoll instead of this if you are using Ruby 1.9, it will avoid accept()-scalability issues with many worker processes.

When serving static files, this is extremely unfair and optimized for throughput at the expense of fairness. This is not an issue if you're not serving static files, or if your working set is small enough to always be in your kernel page cache. This concurrency model may starve clients if you have slow disks and large static files.

Do not use this if you have slow external dependencies.

RubyGem Requirements


Pages Classes Methods
mail archives: https://bogomips.org/rainbows-public/
	nntp://news.public-inbox.org/inbox.comp.lang.ruby.rainbows 
	nntp://news.gmane.org/gmane.comp.lang.ruby.rainbows.general 
public: rainbows-public@bogomips.org / private: rainbows@bogomips.org