# Zbatery - Rack HTTP server without a fork stuck in it

**URL:** <https://www.ruby-forum.com/t/zbatery-rack-http-server-without-a-fork-stuck-in-it/180049>\
**Category:** Ruby\
**Created:** [December 10, 2009, 10:19am UTC](https://www.ruby-forum.com/t/zbatery-rack-http-server-without-a-fork-stuck-in-it/180049 "2009-12-10T10:19:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ericw](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/97f17d/32.png) [@ericw](https://www.ruby-forum.com/u/ericw)\
**Post date:** [December 10, 2009, 10:19am UTC](https://www.ruby-forum.com/t/zbatery-rack-http-server-without-a-fork-stuck-in-it/180049/1 "2009-12-10T10:19:48Z")

</div>

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/](http://zbatery.bogomip.org/)
- removed\_email\_address@domain.invalid
- git://git.bogomips.org/zbatery.git

== Features

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

- Configuration files are compatible with Rainbows!, a superset  
of the Unicorn  
{DSL}[[class Unicorn::Configurator](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](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.
