Eric Wong
2009-Nov-28 02:08 UTC
[Mongrel-development] [ANN] Zbatery - Unicorn+Rainbows! with less Unix
Hi all, Don''t have time to really write it up, but maybe we could just rot 13 the name and stick a 2.0 label on it :> http://git.bogomips.org/cgit/zbatery.git If you grab the latest unicorn.git, you can get Rubinius support for the HTTP parser. http://git.bogomips.org/cgit/unicorn.git Also, in the latest rainbows.git it can work with Rubinius Actors http://git.bogomips.org/cgit/rainbows.git -- Eric Wong (about to go outside for the first time this week, may not return alive)
Eric Wong
2009-Nov-28 05:41 UTC
[Mongrel-development] [ANN] Zbatery - Unicorn+Rainbows! with less Unix
Eric Wong <normalperson at yhbt.net> wrote:> Hi all, > > Don''t have time to really write it up, but maybe we could just rot 13 > the name and stick a 2.0 label on it :>It has exactly the same config file format as Rainbows! (which is a superset of Unicorn''s config file). The before_fork/after_fork hooks run anyways (in the same process) because some people may rely on them. Command-line wise, it''s like "rainbows" (which is modeled after "unicorn" (which was modeled after "rackup")). Basically it''s Rainbows! (and in turn, Unicorn) underneath, so it supports multiple concurrency models but it doesn''t fork off any worker processes at all. I expect it to work (or easy to get working) on Win32; but I won''t be able to test that myself. It''s good on low-powered *nix boxes without a lot of RAM and where I intend to use it. For Unix-only, it actually supports most of the same signals Rainbows! does. HUP is just USR2+QUIT (same as Unicorn without a config file), and TTIN/TTOU are ignored; but it won''t barf if it''s trying to setup a signal handler and raise an exception.> Also, in the latest rainbows.git it can work with Rubinius ActorsStill need to clean that code up a bit... -- Revp Jbat
Eric Wong
2009-Dec-10 09:14 UTC
[Mongrel-development] [ANN] Zbatery - Unicorn+Rainbows! with less Unix
Eric Wong <normalperson at yhbt.net> wrote:> Hi all, > > Don''t have time to really write it up, but maybe we could just rot 13 > the name and stick a 2.0 label on it :> > > http://git.bogomips.org/cgit/zbatery.gitDue to overwhelming demand based on all the feedback I''ve received (nothing), I''ve decided to just release it for now since I can probably use it for some low memory machines I have lying around. http://zbatery.bogomip.org/ gem install zbatery The Unicorn HTTP parser *should* compile on non-*nix since it''s using rake-compiler as of 0.95.2 now. -- Eric Wong