zbatery.git  about / heads / tags
Zbatery HTTP server for Rack
blob 9053bb48be5ca5a018a19a483f554d4c5238e6cd 1667 bytes (raw)
$ git show HEAD:FAQ	# shows this blob on the CLI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
 
= Frequently Asked Questions about Zbatery

Be sure to check out the Rainbows!
{FAQ}[http://rainbows.bogomips.org/FAQ.html] and the Unicorn
{FAQ}[http://unicorn.bogomips.org/FAQ.html] as well.


=== Mongrel -> Unicorn -> Rainbows! -> Zbatery.  Why another server?

Not everybody can afford to run a master process or multiple worker
processes.  Nor do they need all the Unix signals support from
Rainbows!/Unicorn.  We hope this is actually a temporary project that
can eventually be folded back into Mongrel.


=== Why not stick to Mongrel?

Unfortunately Mongrel 2.x development has stalled and the majority of
the team is busy with other projects.  However, Unicorn and Rainbows!
development continues with less concern for portability.

Rainbows! is the only Ruby web server we know of that supports a wide
variety of concurrency models, so we decided to take advantage of
the options Rainbows! provides instead of being tied to one.


=== What's Rack?  Do you support Rails?

{Rack}[http://rack.github.io/] is a minimal specification between
Ruby web servers (e.g. Mongrel, Zbatery) and Ruby web frameworks (e.g.
Rails, Sinatra, Camping).  Instead of requiring a new handler for every
framework a server wants to support, web servers only need to support
Rack.  As of late 2009, all major Ruby web frameworks are built on top
of Rack, including Rails.


=== What platforms are supported?

Any platform running matz's Ruby 1.8 or 1.9 should work with Zbatery.
We have not tested on anything other than GNU/Linux and FreeBSD, so
please let us know of your success/failure stories.  Rubinius 1.0.0rc1
appears to work, too (if you're using Unicorn 0.95.2 or later).

git clone https://yhbt.net/zbatery.git