module Mongrel

Mongrel module containing all of the classes (include C extensions) for running a Mongrel web server. It contains a minimalist HTTP server with just enough functionality to service web application requests fast as possible.

A very simple little class for doing some basic fast statistics sampling. You feed it either samples of numeric data you want measured or you call Mongrel::Stats#tick to get it to add a time delta between the last time you called it. When you're done either call sum, sumsq, n, min, max, mean or sd to get the information. The other option is to just call dump and see everything.

It does all of this very fast and doesn't take up any memory since the samples are not stored but instead all the values are calculated on the fly.

Constants

HTTP_STATUS_CODES

Every standard HTTP code mapped to the appropriate message. These are used so frequently that they are placed directly in Mongrel for easy access rather than Mongrel::Const itself.