[ANN] Zbatery - Rack HTTP server without a fork stuck in it

Eric Wong normalperson at yhbt.net
Thu Dec 10 04:19:19 EST 2009


Zbatery is an HTTP server for Rack applications on systems that either
do not support fork(), or have no memory (nor need) to run the
master/worker model.  It is based on Rainbows! (which is based on
Unicorn (which is based on Mongrel)) and inherits parts of each.
Zbatery supports your choice of all the thread/fiber/event/actor-based
concurrency models and Rack middleware that Rainbows! supports (or will
ever support) in a single process.

Zbatery will still exploit certain features of Unix for transparent
upgrades, log reopening, and graceful stops, but does not rely on them
for basic functionality.

* http://zbatery.bogomip.org/
* rainbows-talk at rubyforge.org
* git://git.bogomips.org/zbatery.git

== Features

* Designed for {Rack}[http://rack.rubyforge.org/], the standard for
  modern Ruby HTTP applications.

* Configuration files are compatible with Rainbows!, a superset
  of the Unicorn
  {DSL}[http://unicorn.bogomips.org/Unicorn/Configurator.html].

* Inherits all features and concurrency models Rainbows! supports
  (and ever will support): http://rainbows.rubyforge.org/Summary.html

* -Untested- Works under operating systems that don't support signals,
  pipe and fork().  Unicorn 0.95.2+ has rake-compiler support, so
  compiling the HTTP parser should be easier at least.

* -Untested- HTML 5 Web Sockets support

This project may be temporary and may eventually have its name encoded
with uncrackable ROT13 encryption leaving you with no way to upgrade.

-- 
Eric Wong


More information about the rainbows-talk mailing list