Ramaze Wiki
History
Table of Contents
  1. Ramaze/Adapters
    1. Thin
    2. Ebb
    3. Mongrel
    4. Swiftiply
      1. Swifiplied Mongrel
      2. Evented Mongrel
    5. WEBrick
    6. CGI
    7. FCGI

Ramaze/Adapters

Ramaze takes advantage of the Rack library to provide a common way to serve its content.

Thin


Thin is a fast and simple HTTP server based on Mongrel and EventMachine. Read more on Ruby Inside, or check out its google group

Ramaze.start :adapter => :thin

Ebb


Ebb aims to be a small and fast web server specifically for hosting dynamic Ruby language web applications. You can find more info at the google group. The source code is hosted at github.
It is a binding to libebb.

Ramaze.start :adapter => :ebb

Mongrel


Mongrel is a fast HTTP library and server for Ruby that is intended for hosting Ruby web applications of any kind using plain HTTP rather than FastCGI or SCGI

Ramaze.start :adapter => :mongrel

Swiftiply


Swiftiply is a backend agnostic clustering proxy for web applications that is specifically designed to support HTTP traffic from web frameworks.
Unlike Pen, Swiftiply is not intended as a general purpose load balancer for tcp protocols and unlike HAProxy, it is not a highly configurable general purpose proxy overflowing with features.

What it is, though, is a very fast, narrowly targetted clustering proxy.
In back to back comparisons of Swiftiply to HAProxy, Swiftiply reliably outperforms HAProxy (tested using IOWA, Rails, Merb, and Ramaze backend processes running Mongrel).

Swiftiply works differently from a traditional proxy.
In Swiftiply, the backend processes are clients of the Swiftiply server -- they make persistent socket connections to Swiftiply.
One of the major advantages to this architecture is that it allows one to start or stop backend processes at will, with no configuration of the proxy.
The obvious disadvantage is that this is not behavior that backends typically expect.

Swifiplied Mongrel


Ramaze.start :adapter => :swiftiplied_mongrel

Evented Mongrel


Evented Mongrel is a monkey-patch to Mongrel (available via the swiftiply gem) to use EventMachine's event-based network architecture instead of Mongrel's default threaded model.

Ramaze.start :adapter => :evented_mongrel

WEBrick


WEBrick is a Ruby library program to build HTTP servers.

Ramaze.start :adapter => :webrick

CGI


CGI is the Common Gateway Interface and is one of the most basic ways to integrate into Webservers like Apache or Lighttpd.

Ramaze.start :adapter => :cgi

FCGI


Improvment of CGI as it doesn't start up a new connection to Ramaze on every request

Ramaze.start :adapter => :fcgi