支持時間連接請求的Web服務器:Rainbows!
Rainbows! 是一個為 Rack 應用而開發的 HTTP 服務器,基于 Unicorn 。主要為一些長時間請求和慢速的客戶端而設計。
-
Designed for Rack, the standard for modern Ruby HTTP applications.
-
Built on Unicorn, inheriting its process/socket management features such as transparent upgrades and Ruby configuration DSL.
-
As with Unicorn, it is able to stream large request bodies off the socket to the application while the client is still uploading. Since Rainbows! can handle slow clients, this feature is more useful than it is with Unicorn.
-
Combines heavyweight concurrency (worker processes) with lightweight concurrency (Events/Fibers/Actors/Threads), allowing CPU/memory/disk to be scaled independently of client connections. More concurrency models (listed in the TODO) will be supported as we find time for them.
-
We give you lots of options with more on the way.