ry / ebb

web server

This URL has Read+Write access

dharmarth (author)
Tue Jun 02 00:46:23 -0700 2009
commit  574f57ddb466569a8d2e7fd16736e4e89e1a71e9
tree    25e3e8707c7d13a1ee83b85d57a6b3dcdef9fcb7
parent  dd90c49eb8ce4059e47b82aa77e69b26c1ba0bd7
ebb /
name age message
file .gitignore Sun Aug 03 06:20:11 -0700 2008 make build system download externals [ry]
file README Mon Aug 18 14:27:26 -0700 2008 small clean ups [ry]
file Rakefile Tue Jun 02 00:46:23 -0700 2009 Included .rb files in gem distribution. [dharmarth]
directory benchmark/ Tue Aug 19 01:55:38 -0700 2008 make sure the first chunk is written with the h... [ry]
directory bin/ Mon Aug 25 02:09:16 -0700 2008 readd Rails stuff. blah! [ry]
directory ext/ Loading commit data...
directory lib/
directory site/ Mon Mar 17 18:12:33 -0700 2008 site update [Ryan Dahl]
directory test/ Sat Oct 04 09:42:03 -0700 2008 add an additional test to test last header incl... [ry]
README
(this is only for HEAD - old docs are found in the git repo)

# A Web Server Called *Ebb*

Ebb aims to be a small and fast web server specifically for hosting 
dynamic Ruby language web applications. 

It is a binding to [libebb](http://tinyclouds.org/libebb)

## Install

The Ruby binding is available as a Ruby Gem. It can be install by executing

    gem install ebb

If you want SSL support you must install GnuTLS.
Ebb has no other dependencies.

## Running

Use Ebb.start_server()

## Speed

(these stats are out of date)

Because Ebb handles most of the processing in C, it is able to do work
often times more efficiently than other Ruby language web servers.

![Benchmark](http://s3.amazonaws.com/four.livejournal/20080311/ebb.png)

Ebb-Ruby can handle threaded processing better than the other 'evented' 
servers. This won't be of any benefit to Rails applications because Rails
places a lock around each request that wouldn't allow concurrent processing
anyway. In Merb, for example, Ebb's thread handling will allow Ebb instances
to handle larger loads. [More](http://four.livejournal.com/848525.html)

## Contributions

Contributions (patches, criticism, advice) are very welcome! 
Please send all to to 
[the mailing list](http://groups.google.com/group/ebbebb).

The source code is hosted [github](http://github.com/ry/ebb/tree/master). It
can be retrieved by executing

    git clone git://github.com/ry/ebb.git

## (The MIT) License

Copyright (c) 2008 [Ryah Dahl](http://tinyclouds.org) (ry at tiny clouds dot org)

<div id="license">
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 
</div>